Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 67
Default Unload the form on esc key

Hello VJ
Private Sub UserForm_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal
Shift As Integer)
If KeyCode = 27 Then Unload Me
End Sub

HTH
Cordially
Pascal

"VJ" a écrit dans le message de
...
Hi,

Is there any way to unload the form on pressing the Esc key in vba?

Thanks

VJ




Reply
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
Load and Unload Form commands R Avery Excel Programming 4 July 29th 04 03:16 PM
form won't unload inquirer Excel Programming 1 May 26th 04 09:55 AM
Unload Me Chip Pearson Excel Programming 0 September 5th 03 12:56 AM
Form Unload Khai[_2_] Excel Programming 0 August 4th 03 09:28 PM
Unload from Memory Charles Williams Excel Programming 0 July 18th 03 08:42 AM


All times are GMT +1. The time now is 12:24 AM.

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

About Us

"It's about Microsoft Excel"