Zoom event

Occurs when the value of the Zoom property changes.

Syntax

For Frame
Private Subobject _Zoom(PercentAs Integer)

For MultiPage
Private Subobject _Zoom(indexAs Long, PercentAs Integer)

The Zoom event syntax has these parts:

Part Description
object Required. A valid object name.
index Required. The index of the page in a MultiPage associated with this event.
Percent Required. The percentage the form is to be zoomed. Valid values range from 10 percent to 400 percent.

Remarks

The value of the Zoom property identifies how the size of the form or Page changes. The value of the property indicates how the size of the control should change relative to its current size. Values less than 100 reduce the displayed size of the form; values greater than 100 increase the displayed size of the form.

You can set this property to any integer from 10 to 400.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.