View Single Post
 
Old 02-03-2013, 01:32 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

I believe your command-line would need to be:
"C:\Program Files (x86)\Microsoft Office\Office12\winword" /t"C:\Custom.dotm" %filename% /m"SaveAsPDF"
where 'C:\Custom.dotm' is the full path & filename of the template. Word templates are not usually stored in "C:\".
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote