Share via


Window.Zoom Property

Returns or sets the display size of the window as a percentage (100 equals normal size, 200 equals double size, and so on).

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

Syntax

'Declaration
Property Zoom As Object
    Get
    Set
'Usage
Dim instance As Window
Dim value As Object

value = instance.Zoom

instance.Zoom = value
Object Zoom { get; set; }

Property Value

Type: System.Object

Remarks

You can also set this property to True to make the window size fit the current selection.

This function affects only the sheet that's currently active in the window. To use this property on other sheets, you must first activate them.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace