Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select text in textbox
Hey guys
I have done this in the past but I forgot. After I set focus to textbox1, I need it to highlight all the text in textbox1. How do I do this? Thanks Todd Huttenstine |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select text in textbox
Private Sub CommandButton1_Click()
TextBox2.SetFocus TextBox2.SelStart = 0 TextBox2.SelLength = Len(TextBox2.Value) End Sub -- Regards, Tom Ogilvy "Todd Huttenstine" wrote in message ... Hey guys I have done this in the past but I forgot. After I set focus to textbox1, I need it to highlight all the text in textbox1. How do I do this? Thanks Todd Huttenstine |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select text in textbox
thanks
-----Original Message----- Private Sub CommandButton1_Click() TextBox2.SetFocus TextBox2.SelStart = 0 TextBox2.SelLength = Len(TextBox2.Value) End Sub -- Regards, Tom Ogilvy "Todd Huttenstine" wrote in message ... Hey guys I have done this in the past but I forgot. After I set focus to textbox1, I need it to highlight all the text in textbox1. How do I do this? Thanks Todd Huttenstine . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Textbox text visibility | Excel Discussion (Misc queries) | |||
select from combobox and show a price in textbox | New Users to Excel | |||
select range textbox limitations | Excel Programming | |||
check variable(text) with cell (text), textbox | Excel Programming | |||
Printing textbox text | Excel Programming |