LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default keyboard event in user form

Have you set a break point right before you display the form so that you can
walk through the code that is triggered when the user presses enter? It
sounds like one of your macros is clearning the form and you just have to
find out why.

Bob Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"gpjb" wrote in message
...

I have a fairly compex userform controlling a hotel reservation system.

I have an annoying problem that occurs when the user presses the
"enter/return" key - all data on the form disappears. Note: This
happens before data is saved.

How can I trap the event , not lose the data entered, and continue
entering data on to the form?

Thanks, gpjb


--
gpjb
------------------------------------------------------------------------
gpjb's Profile:
http://www.excelforum.com/member.php...o&userid=14081
View this thread: http://www.excelforum.com/showthread...hreadid=382530



 
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
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
EXCEL 2002: How do I user/simulate a Timer event in Excel form JohnF[_2_] Excel Programming 12 September 23rd 04 04:56 PM
EXCEL 2002: How do I user/simulate a Timer event in Excel form John Fejsa Excel Programming 2 August 18th 04 03:44 AM
user form-on open event? keydown event? FSt1[_3_] Excel Programming 2 August 5th 04 02:26 PM
How to catch mouse/keyboard event in Office addin Frank King Excel Programming 4 October 13th 03 10:14 PM


All times are GMT +1. The time now is 01:11 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"