Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On previous versions if you put E&xit within the Caption property of a
command button, when you ran the code you could press Alt + X as a shortcut to close the form. Does anyone know how to do this in Excel 2007 as this way doesnt work. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think that is the way it has ever worked. Perhaps you are thinking
of VB6, which does work this way. In Excel/VBA, you've always had to use the Accelerator property to assign a keystroke to a control. -- Cordially, Chip Pearson Microsoft MVP - Excel, 10 Years Pearson Software Consulting www.cpearson.com (email on the web site) "Richard" wrote in message ... On previous versions if you put E&xit within the Caption property of a command button, when you ran the code you could press Alt + X as a shortcut to close the form. Does anyone know how to do this in Excel 2007 as this way doesnt work. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Short Cut keys | Excel Discussion (Misc queries) | |||
Short Cut Keys | Excel Worksheet Functions | |||
Assigning Short-Cut Keys | Excel Programming | |||
short cut keys work- run macro does not | Excel Programming | |||
priority of short cut keys | Excel Programming |