![]() |
|
#1
|
||||
|
||||
![]()
Is your "10109 Router.docx" document based on the "C:\Custom.dotm" template? If not, I suspect your '/m"SaveAsPDF1"' directive needs to tell Word needs to include the template name - possibly something along the lines of:
/m"C:\Custom.dotm.Module1.SaveAsPDF1" where 'Module1' is the name of the code module in which the macro resides.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
command line, macro vba word |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
asearle | Word | 1 | 08-07-2012 05:42 AM |
Word doc bug when closing from userform command button click macro | Joe Patrick | Word | 1 | 07-05-2011 08:53 PM |
Invoking a command line from inside Word | bolpom | Word | 1 | 03-16-2011 03:03 AM |
Command Line Argument | xJediDadx | Outlook | 1 | 02-21-2011 03:47 PM |
Command Line Switches | Ringmaster | Office | 0 | 08-10-2010 06:27 AM |