Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^7: Excel Const - No type library matching error message

by poj (Abbot)
on Dec 10, 2017 at 13:53 UTC ( [id://1205255]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Excel Const - No type library matching error message
in thread Excel Const - No type library matching error message

On the failing system what does this give

#!perl use strict; use Win32::OLE; print "Win32::OLE : $Win32::OLE::VERSION \n"; my $Excel = Win32::OLE->new('Excel.Application', 'Quit'); print "Excel ".$Excel->{Version};
poj

Replies are listed 'Best First'.
Re^8: Excel Const - No type library matching error message
by merrymonk (Hermit) on Dec 11, 2017 at 18:26 UTC
    On the failing system the result of your Perl was

    Win32::OLE : 0.1709
    Excel 15.0

    Oddly I am told the same was obtained where the Const was successful.

    On my system, which is OK, the output was
    Win32::OLE : 0.1712
    Excel 14.0

      Try updating the 0.1709 (April 17th 2008) to the latest version 0.1712 (May 14th 2014). Do you have a mixture of 32 bit and 64 bit versions ?

      poj
        Can you give me some clues about how to update the OLE version?
        For example does Excel have to be reloaded. Excuse my ignorance but up to now I have simply used the version of Excel that is there with the Perl that is supplied by a third party.
        I have to explain this to my user.
        I also should have asked - when you ask about 32 and 64 bit versions - do you mean just Excel?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205255]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found