Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 885 Bytes

2e47bd4f-59dc-d620-14f0-e4ecdfb4eb78.md

File metadata and controls

42 lines (23 loc) · 885 Bytes

ControlFormat.LargeChange Property (Excel)

Returns or sets the amount that the scroll box increments or decrements for a page scroll (when the user clicks in the scroll bar body region). Read/write Long .

Syntax

expression . LargeChange

expression A variable that represents a ControlFormat object.

Example

This example creates a scroll bar and sets its linked cell, minimum, maximum, large change, and small change values.

Set sb = Worksheets(1).Shapes.AddFormControl(xlScrollBar, _ 
 Left:=10, Top:=10, Width:=10, Height:=200) 
With sb.ControlFormat 
 .LinkedCell = "D1" 
 .Max = 100 
 .Min = 0 
 .LargeChange = 10 
 .SmallChange = 2 
End With

See also

Concepts

ControlFormat Object

Other resources

ControlFormat Object Members