You might be able to directly assign hotkeys to functions in your friend's Word add-on without the need for macros. Here's a general approach you can try:
Customize Ribbon: In Word, go to "File" > "Options" > "Customize Ribbon."
Add Commands: On the right side, under "Customize the Ribbon," select the tab where your friend's add-on commands are located.
Create Custom Group: Click "New Group" to create a new group within the selected tab.
Add Commands to Group: Select the commands from your friend's add-on that you want to assign hotkeys to and add them to the custom group.
Assign Hotkeys: With the commands selected in the custom group, click the "Keyboard Shortcuts" button at the bottom.
Assign Hotkeys: In the "Customize Keyboard" dialog, you can assign hotkeys to the selected commands. Simply press the desired hotkey combination in the "Press new shortcut key" field and click "Assign."
Confirm Changes: Click "Close" to confirm the changes and close the dialog.
|