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: 1
Default Keeping The Focus From Changing. How?


Hi,

I'm designing a userform for data entry.

I'd like to have the userform set up that I can put text in a textbo
and press enter, then it does what it's supposed to do and clears th
textbox so that I can type new text in. I've seen other vb program
that do this.

With the way things are now, when I press enter it does everything it'
supposed to do, but the focus always moves to the next control.

Is there anyway that I can stop the focus from moving to the nex
control when I press enter?

Thanks a lot for the help. I appreciate it. :

--
abx
-----------------------------------------------------------------------
abxy's Profile: http://www.excelforum.com/member.php...nfo&userid=473
View this thread: http://www.excelforum.com/showthread.php?threadid=40057

 
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
margins keeping changing excel margins Excel Worksheet Functions 1 June 18th 09 02:16 AM
Keeping Charts from Changing Redhawkphi Charts and Charting in Excel 2 June 12th 08 04:57 PM
Keeping date from changing Richard Excel Discussion (Misc queries) 5 April 30th 08 02:57 AM
Keeping a transfered value the same after changing the original va DeVon Excel Worksheet Functions 0 February 4th 05 07:23 AM
changing focus Mike Macgowan Excel Programming 0 November 13th 03 03:31 AM


All times are GMT +1. The time now is 11:25 PM.

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"