Percentage Property

Percentage Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns or sets the magnification for a window as a percentage. Read/write Long.

expression.Percentage

expression   Required. An expression that returns a Zoom object.

Example

This example switches the active window to normal view and sets the magnification to 80 percent.

  With ActiveDocument.ActiveWindow.View
    .Type = wdNormalView
    .Zoom.Percentage = 80
End With

This example increases the magnification of the active window by 10 percent.

  Set myZoom = ActiveDocument.ActiveWindow.View.Zoom
myZoom.Percentage = myZoom.Percentage + 10