instead of$doc->Run("psqtemplate");
$doc1->ActiveDocument->Run("psqtemplate");
see here
Untested
In reply to Re: Win32::OLE running macros
by wfsp
in thread Win32::OLE running macros
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |