View Single Post
 
Old 03-07-2018, 05:39 PM
eduzs eduzs is offline Windows 10 Office 2010 32bit
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

You're welcome!
Just a tip: when I assign macros to menu buttons or keyboard shortcut that will be used in specific documents, I like to put a exit line to prevent undesired changes in other documents.
Like this (before any other instruction):

Code:
If activedocument.name<>"My desired document.docx" then exit sub
__________________
Backup your original file before doing any modification.
Reply With Quote