Do you get any errors?
Some of your property and invoke nodes are not wired, so first make sure you are tracking all the errors. This may give you a clue why the scale is not set.
When I run your VI ( I had to replace your SubVI with Open New Worksheet.vi) I get this activex error -2147352573 from the Axis.MaximumScale property. I saw this error with the report generation VIs, and the following link has the fix:
Error "-2147352573 Member not found in the xxx.vi" with NI Reports VIs in LabVIEW 6.0This may not be a solution to your problem. In your VI, you are trying to get a reference to
Axis object from Chart.
Axes output. This will
not work. You should first use Excel.Axes reference wired to Variant to Data function. Then wire the output reference to
Axes method Item. Wire xlCategory or xlSeriesAxis to the Type input. Then wire the Item output reference to your Variant to Data that has Excel.Axis reference wired to it.
I've attached modified VI that first uses
Axes method to get the reference to
Axis.
Zvezdana S.