XL: Errors Changing Chart Axis Value Scale in MacroLast reviewed: December 1, 1997Article ID: Q152759 |
The information in this article applies to:
SYMPTOMSWhen you set the axis values on a chart through a macro using the MimimumScale and/or MaximumScale properties, you may receive the following error message:
Run-Time Error 1005: "Maximum axis value must be greater than minimum axis value. " CAUSEThe error message may appear if the following is true:
RESOLUTIONTo resolve the error message, reverse the order of the commands in the macro. For example, if you are setting the low (minimum) value first and that is the line of code that is generating the error message, set the high (maximum) value first. If you are setting the high (maximum) value first and that is the line of code that is generating the error message, set the low (minimum) value first.
REFERENCESFor more information about changing the value axis scale, click the Search button in Help and type:
scale |
Additional query words: 5.00 5.00a 5.00c 7.00 7.00a xl5 xl7
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |