View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Garry Jones Garry Jones is offline
external usenet poster
 
Posts: 28
Default Highlighting Textbox

I have a userform with a Textbox that starts off with an initial value
read in from a cell.

After taking the user to the textbox I want the value withing it to be
highlighted.

This code does not solve it..

_______________________________________

Private Sub UserForm_Initialize()
TextBox1.Text = Worksheets("blad1").Cells(5, 1)
TextBox1.SetFocus
End Sub
_______________________________________

Any ideas?

Garry Jones