not really. The txt box is the only control in the form so it has the focus already. What I need is to to have the text inside the txt box all selected, as if you were going to copy it.
This behaviour depends on the setting under Extra > Options > tab Keyboard: "Behavior Entering Field" (Hope I guessed the menu option right).
This is a user setting and can be controlled in VBA by:
Bob. Am new to this! Did you mean "put in the OnClick event" not GotFocus?
I can get it to work on the onclick but not gotfocus. Am I missing some point here? I know default action on using Tab to enter a field is to select all the text and this property can be changed [see PeterF - above]. But my problem was to get the whole field/text selected when clicking with a mouse, which your code fixes [using onclick]. Thanks David