Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exiting a Textbox
I have several worksheet textboxes that are multiline and autosize. However,
the users' input can get quite lengthy and the full textbox must be visible, so as one textbox expands it hides the textboxes (and other worksheet data). My workaround was to develop a routine to run when the user "exited" a textbox, to "go behind" the textbox and insert the same number of rows that the textbox expanded by. One "small" detail is thwarting my efforts...I don't know the name for the "event" of exiting the worksheet textbox that would trigger my workaround. All the info I could find was related to user forms. Any ideas??? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exiting a Textbox
Maybe the LostFocus event?
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "EGL" wrote in message ... I have several worksheet textboxes that are multiline and autosize. However, the users' input can get quite lengthy and the full textbox must be visible, so as one textbox expands it hides the textboxes (and other worksheet data). My workaround was to develop a routine to run when the user "exited" a textbox, to "go behind" the textbox and insert the same number of rows that the textbox expanded by. One "small" detail is thwarting my efforts...I don't know the name for the "event" of exiting the worksheet textbox that would trigger my workaround. All the info I could find was related to user forms. Any ideas??? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exiting a Textbox
Thanks for the quick reply. I had tried that, but I incorrectly thought it
wasn't working. I finally discovered the EnableEvents was inadvertantly turned off. Once I corrected that, LostFocus worked like a charm. I have other issues however...if I can't work through them, I may have more postings. Thanks again!! EGL "Bob Phillips" wrote: Maybe the LostFocus event? -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "EGL" wrote in message ... I have several worksheet textboxes that are multiline and autosize. However, the users' input can get quite lengthy and the full textbox must be visible, so as one textbox expands it hides the textboxes (and other worksheet data). My workaround was to develop a routine to run when the user "exited" a textbox, to "go behind" the textbox and insert the same number of rows that the textbox expanded by. One "small" detail is thwarting my efforts...I don't know the name for the "event" of exiting the worksheet textbox that would trigger my workaround. All the info I could find was related to user forms. Any ideas??? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Exiting Excel | Excel Discussion (Misc queries) | |||
Can you Click the "Enter" key to go to the next line in a Textbox without Exiting the Textbox ? | Excel Programming | |||
Using the Return Key without exiting Textbox | Excel Programming | |||
Run a procedure when exiting a a textbox within a userform | Excel Programming | |||
exiting program | Excel Programming |