ControlFormat.Max Property

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Max As Integer
    Get
    Set
'Usage
Dim instance As ControlFormat
Dim value As Integer

value = instance.Max

instance.Max = value
int Max { get; set; }

Property Value

Type: System.Int32

Remarks

The value of the Max property must be greater than the value of the Min property.

See Also

Reference

ControlFormat Interface

ControlFormat Members

Microsoft.Office.Interop.Excel Namespace