Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
on press
Is it possible to create a macro so that when the enter button i
pressed, the workbook is either saved, or saved then closed -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
on press
Fraggs,
You can trap any key with OnKey Application.OnKey "~", "EnterProc" Now whenever Enter is pressed, it runs EnterProc Sub EnterProc() MsgBox "Hello, dere. This is EnterProc" End Sub You sure you want to use the Enter key for this??? -- Earl Kiosterud mvpearl omitthisword at verizon period net ------------------------------------------- "Fraggs " wrote in message ... Is it possible to create a macro so that when the enter button is pressed, the workbook is either saved, or saved then closed? --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
when i press TAB key in an excel sheet nothing happens? | Excel Discussion (Misc queries) | |||
Information hidden when I press F2 | Excel Discussion (Misc queries) | |||
When I Press the Enter Key Nothing happens. | Excel Discussion (Misc queries) | |||
on press detection | Excel Programming | |||
test for key press | Excel Programming |