Userform, select entire field

J

Joergen Bondesen

Hi NG.

I have a UserForm

Private Sub UserForm_Activate()

'// Add value to field
AddRows = -1

'// Select Field
Me.AddRows.SetFocus
'// The curser is indicating after 1
'// I want -1 selected, so the user can enter a new value, if necessary,
without backspacing.
'// How can I do this?
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top