Thread: [Solved] Macro-enabled Template
View Single Post
 
Old 01-30-2013, 04:07 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,387
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

Unless the document has been saved at some earlier time, "ActiveDocument.Save" is inappropriate - you need to use "ActiveDocument.SaveAs" or "ActiveDocument.SaveAs2" before the IF test and give the document a valid path and name.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote