LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default TextBox Focus And Active Cursor Movement In User Forms

I have a user form with many text boxes, most of which I edit for validity.
If someone enters an invalid number, all I want to do is MsgBox them, clear
the textbox, and return the blinking cursor to that same textbox... well, I
have tried everything. I can clear the textbox, but I still have to use my
mouse to get back to that textbox. I have used the SetFocus, keybd_event to
tab backwards, and other tricks, none of which completely worked. Ideas?
--
Rich Locus
Logicwurks, LLC
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Movement of the cursor tran1728 Excel Discussion (Misc queries) 4 May 8th 10 05:28 AM
Cursor movement pfk5971 Excel Discussion (Misc queries) 1 July 12th 09 12:03 AM
Cursor Movement Froggy2899 Excel Discussion (Misc queries) 2 August 11th 08 10:54 PM
cursor movement Paulo Couto Excel Discussion (Misc queries) 5 October 25th 07 11:32 PM
Cursor movement Tedebare Excel Programming 2 March 15th 07 06:29 PM


All times are GMT +1. The time now is 08:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"