G
Garry Jones
On UserForm_Initialize() I read in a value to a text box.
This following code then highlights the text in that text box.
With TextBox1
..SelStart = 0
..SelLength = Len(.Text)
..SetFocus
End With
But this only works on Windows 98, but not on Windows 2000.
Is there any other code that is universal and will give me the same
effect in both operating systems?
Garry Jones
This following code then highlights the text in that text box.
With TextBox1
..SelStart = 0
..SelLength = Len(.Text)
..SetFocus
End With
But this only works on Windows 98, but not on Windows 2000.
Is there any other code that is universal and will give me the same
effect in both operating systems?
Garry Jones