View Single Post
 
Old 07-01-2015, 04:59 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
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

Have you checked where the code is generating the error? For example, I doubt this line would work:
Kill "D:\Metadata\" & (ActiveDocument.Name) & ".DOCX"
since ActiveDocument.Name will return the Active Document's name, including the extension...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote