Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: win32::ole question again

by dada (Chaplain)
on Oct 28, 2002 at 15:03 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-18 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found