Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How can I set focus back or remained on Textbox?
Hi all,
I use the following Events associated with Textbox 1. BeforeDropOrPaste (for OLE drag and drop) 2. Keydown (for capturing key stroke) by Taborder, the next control that gets focused is Commandbutton. Simply put, I want focus to remain in the Textbox control when user presses Enter key. At the moment, I can clear the entry in the Textbox but no matter how I code it focus shifts to the Commandbutton... Thanks in advance. Tetsuya Oguma |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA to set focus back to exel | Excel Programming | |||
How to tell what textbox got the focus | Excel Programming | |||
How do I get focus back on an Excel file? | Charts and Charting in Excel | |||
How do I get focus back on an Excel file? | Excel Programming | |||
TextBox focus 4 | Excel Programming |