![]() |
Keybindings Collection in Excel
Hi,
Can anyone tell me how to assign short cut keys to macros (other than the manual method). I'm trying to program a set of programable keys (www.x-keys.com) to fire a macro. I've discovered the "Keybindings" collection in Word, but it doesn't appear to exist in Excel. Is there an alternative? Lastly are normally set macro short cut key combinations stored in the respective document or somewhere else? Thanks in advance John |
Keybindings Collection in Excel
John,
You can use the OnKey method of the Application object to assign a macro to a key combination . See OnKey help in VBA help for more details. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "John" wrote in message ... Hi, Can anyone tell me how to assign short cut keys to macros (other than the manual method). I'm trying to program a set of programable keys (www.x-keys.com) to fire a macro. I've discovered the "Keybindings" collection in Word, but it doesn't appear to exist in Excel. Is there an alternative? Lastly are normally set macro short cut key combinations stored in the respective document or somewhere else? Thanks in advance John |
All times are GMT +1. The time now is 01:20 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com