View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Papou Papou is offline
external usenet poster
 
Posts: 67
Default Move cursor to textbox in a userform

Hello
In addition, you could highlight the whole (wrong)entry with:
With Me.TextBox1
..SelStart = 0
..SelLength = Len(.Value)
..SetFocus
End With

HTH
Cordially
Pascal