Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a form with several textboxes. When the <OK
button is clicked to close the form, a function is called to verify that all the textboxes contain appropriate values. If not, a message is displayed and the first invalid textbox gets the focus. What I am having difficulty with is that I would like the text in that textbox to be highlighted as well. Any ideas would be appreciated...TIA |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
FYI...
Text1.SetFocus Text1.SelStart = 0 Text1.SelLength = Len(Text1.Text) -----Original Message----- I have a form with several textboxes. When the <OK button is clicked to close the form, a function is called to verify that all the textboxes contain appropriate values. If not, a message is displayed and the first invalid textbox gets the focus. What I am having difficulty with is that I would like the text in that textbox to be highlighted as well. Any ideas would be appreciated...TIA . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
highlighting text | Excel Discussion (Misc queries) | |||
Highlighting text in a textbox | Excel Programming | |||
Highlighting Textbox | Excel Programming | |||
Highlighting or Selecting TextBox entry | Excel Programming | |||
check variable(text) with cell (text), textbox | Excel Programming |