View Single Post
 
Old 11-23-2015, 06:52 PM
DariusCode DariusCode is offline Mac OS X Office for Mac 2011
Novice
 
Join Date: Nov 2015
Posts: 2
DariusCode is on a distinguished road
Default Show Key Combination Pressed by User

I need the code that would emulate what happens when you click in the edit box across from "Press new keyboard shortcut in Customize Toolbars & Menus > Customize Keyboard (when Keyboard... button is pressed). This is the dialog box in which user assigns a key combination to a macro.

I need to find out exactly what key combination user has pressed inside a text box in a dialog box and show it exactly like MS Word does in Customize Keyboard dialog box., e.g. Command+Control+Shift+A (I'm a Mac user).

I'm using TextBox_KeyUp() in a dialog box but for some reason it doesn't register the Option key or perhaps I don't know what the Shift value for the option is key! The MS Words key in their Customize Keyboard dialog works perfectly.

All help is appreciated.
Reply With Quote