View Single Post
 
Old 03-17-2024, 02:52 AM
RRB's Avatar
RRB RRB is offline Windows 11 Office 2021
Susan Flamingo
 
Join Date: May 2014
Location: The Holy City of Jerusalem
Posts: 266
RRB is on a distinguished road
Default Document specific macros

Hi friends!

Is it a sin to store a macro and it hotkey trigger in the document level as opposed to the template?

What I am puzzled with is that I have a group of macros that are basically the same function but vary slightly from doc to doc. I want to assign the same hotkey to the macros to execute the macro that is meant for that specific doc. But hotkey-macro connections are stored in at the template level so this will not work correctly for each doc.
Maybe my whole methodology is mistaken here...

Sincerely, a confused flamingo

Update edit:

I thought I could do an if statement getting the title property of the document and executing the macro as desired for each doc.
Reply With Quote