in reply to Re^3: How to use win32::OLE with multiple versions of Microsoft Office?
in thread How to use win32::OLE with multiple versions of Microsoft Office?
I don't want to doubt what you're saying, but I am surprised that you're having issues. That line of code has worked for me on multiple systems and across multiple versions of Office (97,2003,2007,2010) on different Windows versions (XP, Vista, Win7, Win2003, Win2008) and different versions of Perl without any problems.
In fact, I just ran the code below on a Win7 box with ActiveState Perl 5.12.1 and Office 2010 installed. It ran without any errors or complaints.
use strict; use warnings; use Win32::OLE::Const "Microsoft Office .* Object Library";
I believe that I'm out of ideas/suggestions at this point. If I can think of anything, I'll come back and post it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to use win32::OLE with multiple versions of Microsoft Office?
by frida (Initiate) on Aug 08, 2011 at 17:35 UTC | |
by perl_new_b (Novice) on Jul 23, 2014 at 07:12 UTC | |
by Anonymous Monk on Jul 23, 2014 at 07:16 UTC | |
by perl_new_b (Novice) on Jul 23, 2014 at 09:17 UTC | |
by Corion (Patriarch) on Jul 23, 2014 at 09:19 UTC | |
|