Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Return key to "OK" a DialogBox

Could someone please remind me how to ensure hitting the RETURN key always
has the same effect as clicking the OK button on a UserForm.
--
donwb
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Return key to "OK" a DialogBox

Set the Default property of the OK button to True.

--
Regards,
Tom Ogilvy


"donbowyer" wrote in message
...
Could someone please remind me how to ensure hitting the RETURN key always
has the same effect as clicking the OK button on a UserForm.
--
donwb



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Return key to "OK" a DialogBox

Of course! Memory's not what it was. Thanks
--
donwb


"Tom Ogilvy" wrote:

Set the Default property of the OK button to True.

--
Regards,
Tom Ogilvy


"donbowyer" wrote in message
...
Could someone please remind me how to ensure hitting the RETURN key always
has the same effect as clicking the OK button on a UserForm.
--
donwb




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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
keyboard shortcut to return to previous cell after "find" or "got. Nadavb New Users to Excel 1 May 25th 08 01:39 AM
function to return day in the form "Monday", "Tuesday" etc given . MTro Excel Worksheet Functions 2 October 3rd 07 09:49 AM
Check if cells contain the word "Thailand", return "TRUE" ali Excel Worksheet Functions 7 September 14th 07 09:53 AM
If (A1 = "ValueA" & C1 = "ValueB") return the quantity of matches DaveC Excel Discussion (Misc queries) 2 July 1st 07 10:34 AM


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