in reply to Re^2: How to use win32::OLE with multiple versions of Microsoft Office?
in thread How to use win32::OLE with multiple versions of Microsoft Office?
but no joy. No complaint from Win32::OLE, but no msoFalse defined...use Win32::OLE::Const "Microsoft Office \.* Object Library"; # mso co +nstants
I forget how I figured out that I needed to put in the exact version number (11.0, 12.0, or 14.0), but that is the only way I have been able to get this to work. I tried to figure out a way to select the right version in a BEGIN-END block, but I lack the perlMonkishness to get that going.
I can live with one of two solutions (either modify the script for the specific host version of Office -- yuck); or the way it is now (looks ugly as sin, but seems to work; and if multiple versions of office exist, I'll take my chances.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to use win32::OLE with multiple versions of Microsoft Office?
by dasgar (Priest) on Aug 04, 2011 at 19:33 UTC | |
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 | |
|