Table of contents
Collapse the table of content
Expand the table of content

Window.Resize Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Sizes the Microsoft Publisher application window.


expression. Resize( Width, Height)

_expression_A variable that represents a Window object.


NameRequired/OptionalData TypeDescription
WidthRequiredLongThe width of the window, in points.
HeightRequiredLongThe height of the window, in points.


If the window is maximized or minimized, an error occurs.

Use the Width and Height properties to set the window width and height independently.


This example resizes the Publisher application window to 7 inches wide by 6 inches high.

With Application.ActiveWindow 
 .WindowState = wdWindowStateNormal 
 .Resize Width:=InchesToPoints(7), Height:=InchesToPoints(6) 
End With
© 2018 Microsoft