Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Highlight text in textboxes
Hi all,
A simple question: How can I programmatcially highlight text in a textbox? Textbox.SetFocus doesn't work. Thanks for your advcie in advance. Frederick Chow |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Highlight text in textboxes
With TextBox1
.SelStart = 1 .SelLength = Len(.Text) .SetFocus End With -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Frederick Chow" wrote in message ... Hi all, A simple question: How can I programmatcially highlight text in a textbox? Textbox.SetFocus doesn't work. Thanks for your advcie in advance. Frederick Chow |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Thank you very much (N/C)
"Bob Phillips" wrote in message ... With TextBox1 .SelStart = 1 .SelLength = Len(.Text) .SetFocus End With -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Frederick Chow" wrote in message ... Hi all, A simple question: How can I programmatcially highlight text in a textbox? Textbox.SetFocus doesn't work. Thanks for your advcie in advance. Frederick Chow |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Text wrap problem when printing labels/textboxes | Excel Discussion (Misc queries) | |||
Clearing text in TextBoxes | Excel Programming | |||
Default text in textboxes | Excel Discussion (Misc queries) | |||
Highlight / "Selection" of AutoShape Text (Like SelStart for TextBoxes) | Excel Programming | |||
Text length and TextBoxes | Excel Programming |