@Sun_Force
You're correct that code isn't needed but F2 selects all the text in a textbox.
However, as you might expect clicking the End key takes you to the end of the entered text in the textbox!
Similarly, the Home key will return you to the start
F2 is a window side short cut. Not Access. F2 selects the whole text or edit the text.
It means :
If the text in a textbox is selected and you press F2, the cursor jumps to the end of the text (gets ready for edit)
If the text in a textbox is not selected, F2 selects the text.
So if the text is not selected, I simply press F2 button two times. The first one selects the text, the second one sends the cursor to the end of text.
I try to keep my right hand on my mouse, so prefer not to use shortcuts at the right side of the keyboard.
Of course others may feel more comfortable to use home/end keys.