ControlFormat.Max Property
Excel Developer Reference |
Returns or sets the maximum value of a scroll bar or spinner range. The scroll bar or spinner won’t take on values greater than this maximum value. Read/write Long.
Syntax
expression.Max
expression An expression that returns a ControlFormat object.
Return Value
Long
Remarks
The value of the Max property must be greater than the value of the Min property.
Example
This example creates a scroll bar and sets its linked cell, minimum, maximum, large change, and small change values.
Visual Basic for Applications |
---|
|
See Also