cognizant has asked for the wisdom of the Perl Monks concerning the following question:
I wanna add a template using Win32::OLE. The below approach yields correct output in VBA, but not in perl.
Last line of code not funcitoning well. Can anyone suggest where i am going wrong?$word=Win32::OLE->GetActiveObject('Word.Application'); $doc->Open("$file"); $add=$word->AddIns; $a=$add->Add({FileName=>"d:/macro.dot", Install=>"True"});
Thanx in Advance
--c
20050207 Janitored by Corion: Eliminated PRE tags
2005-02-07 Janitored by Arunbear: Changed title from 'Win 32'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding MS-Word templates using Win32::OLE
by gube (Parson) on Feb 07, 2005 at 12:07 UTC | |
by cognizant (Pilgrim) on Feb 07, 2005 at 12:36 UTC | |
by gube (Parson) on Feb 07, 2005 at 17:30 UTC | |
|
Re: adding MS-Word templates using Win32::OLE
by holli (Abbot) on Feb 07, 2005 at 16:46 UTC |