First, Thanks so much for your Excel OLE tutorial it was great!
I am trying to automate creating a two axis chart. It has 5 series of data. The first one uses a primary linear axis, the other 4 use a precentage secondary axis. I created the chart using chart wizard and I am hitting a wall adding the secondary axis.
The VB example in the excell help file says to use Charts("Chart1").HasAxis(xlValue, xlPrimary) = True to activate a primary axis. So I tried $Chart->{HasAxis(xlValue, xlSecondary)} = 'True'; and $Chart->HasAxis(xlValue, xlSecondary);
Neither work. The first failes with message from perl telling me the &HasAxis in Main is undefined and the second runs but any attmpt to use the secondary axis fails with a OLE error. I have been digging on this for a while can you help?
janitored by ybiC: PM link ([id://node_number]) to referenced tutorial, minor formatting cleanup
In reply to Trouble adding a secondary Axis to an Excel chart by bshaner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |