VB Code to Automatically Set Min and Max Scale for Y- Axis (141363)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q141363 SUMMARY
In Microsoft Excel, you can set the Minimum and Maximum properties of the
y-axis scale to any value. The example in this article shows the steps
necessary to create a Microsoft Visual Basic for Applications procedure
that determines the minimum and maximum values contained in your data and
sets the scale based on these values.
REFERENCES
"Visual Basic User's Guide," version 5.0, pages 145-146
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB141363 |
---|
|