View Single Post
 
Old 07-29-2014, 03:24 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,342
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

Macro-enabled files in Word 2007 & later require saving in the docm & dotm formats, not docx & docm. So you'd need to change both the extension and the FileFormat to match, using wdFormatXMLDocumentMacroEnabled for documents and wdFormatXMLTemplateMacroEnabled for templates. Ordinary templates, btw, should be saved using wdFormatXMLTemplate.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote