XL97: Min Can Exceed Max on ScrollBar or SpinButton ControlLast reviewed: March 13, 1998Article ID: Q161816 |
The information in this article applies to:
SYMPTOMSYou can set the Min property to a value that is greater than the value for the Max property for the ScrollBar and SpinButton ActiveX controls.
STATUSThis behavior is by design of Microsoft Excel 97.
MORE INFORMATIONMicrosoft provides examples of Visual Basic for Applications procedures for illustration only, without warranty either expressed or implied, including, but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures in this article are provided 'as is' and Microsoft does not guarantee that they can be used in all situations. While Microsoft support engineers can help explain the functionality of a particular macro, they will not modify these examples to provide added functionality, nor will they help you construct macros to meet your specific needs. If you have limited programming experience, you may want to consult one of the Microsoft Solution Providers. Solution Providers offer a wide range of fee-based services, including creating custom macros. For more information about Microsoft Solution Providers, call Microsoft Customer Information Service at (800) 426-9400. When you set the Min property to a value that is greater than the value for the Max property, the default behavior of the control is reversed. When this behavior occurs, clicking the arrow that points upward on a SpinButton control decreases the value of the SpinButton instead of increasing the value. The following example illustrates the behavior:
REFERENCESFor more information about SpinButtons, click the Office Assistant, type "spinbutton", click Search, and then click to view "SpinButton Control". For more information about Scrollbar Controls, click the Office Assistant, type "scrollbar", click Search, and then click to view "ScrollBar Control". For more information about adding ActiveX Controls to a Worksheet, click the Office Assistant, type "toolbox", click Search, and then click to view "About buttons, check boxes, or other controls to a worksheet". NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Excel Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q120802 TITLE : Office: How to Add/Remove a Single Office Program or Component |
Additional query words: XL97 scroll bar spin button
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |