Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone provide code to have an event trigger whenever a key i
pressed?? I am a newbie so details would be appreciated. Thanks -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use Application.OnKey to assign macros to keys. The following assigns a
procedure called InsertCol to the lower case a key: Application.OnKey "a", "InsertCol" You can also use key combinations such as "^a" for Ctrl+a. Look at OnKey in help to get a comprehensive list of key combinations that can be used. John Green "bforster1 " wrote in message ... Can someone provide code to have an event trigger whenever a key is pressed?? I am a newbie so details would be appreciated. Thanks. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
KeyPress Events | Excel Programming | |||
Edit Textbox using KeyPress vba code in Access | Excel Programming | |||
Keypress nest | Excel Programming | |||
keypress | Excel Programming | |||
KeyPress Event | Excel Programming |