in reply to How to Generate a Stock Chart with Perl in MS Excel?

In your code you write $Chart->{ChartType}=xlStockOHLC;, but in the error message you write error 0x80020009: "" in propertyput "ChargeType" - which one is it - ChartType or ChargeType? I guess you just miscopied the error message, but it pays to make sure :)

My approach to such things is to use the macro recorder and then inspect the VB code for what it does differently from how my Perl code does it.

Replies are listed 'Best First'.
Re^2: How to Generate a Stock Chart with Perl in MS Excel?
by morfecourier (Initiate) on Jan 25, 2008 at 05:13 UTC
    Oh, Corion, very sorry about it. That should be ChartType. I have already update it. Thanks for help!