View Single Post
 
Old 08-14-2018, 02:49 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Evidently, either:
• the document you've added the macro to has never been saved; or
• you've added the macro to a document template and you're trying to run it from that instead of from a document created from the template.
If running the code from a document attached to a template, change 'ThisDocument' to 'ActiveDocument'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote