View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
kirkm[_6_] kirkm[_6_] is offline
external usenet poster
 
Posts: 156
Default String in text box

On Wed, 7 Mar 2007 17:47:31 +0800, "NickHK"
wrote:

Kirk,
Doesn't this work ?

Private Sub CommandButton1_Click()

With TextBox1
.SetFocus
.SelStart = 0
End With

End Sub


Thanks Nick. All sorted now.

Cheers - Kirk