Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: win32::ole question again

by dada (Chaplain)
on Oct 28, 2002 at 15:03 UTC ( #208516=note: print w/replies, xml ) Need Help??


in reply to win32::ole question again

you should remove all the quotes from the xlXXX literals. they're constants, not strings. eg:
$Chart->{ChartType} = xlLineMarkers; $Chart->Location({Where => xlLocationAsNewSheet});
also make sure you have this line at the beginning of your script:
use Win32::OLE::Const 'Microsoft Excel';
hope this helps...

cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-05-18 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (70 votes). Check out past polls.

    Notices?