Window.WindowState property (Publisher)

Returns or sets a PbWindowState constant indicating the state of the Microsoft Publisher window. Read/write.

Syntax

expression.WindowState

expression A variable that represents a Window object.

Return value

PbWindowState

Remarks

The WindowState property value can be one of the PbWindowState constants.

When the state of the window is pbWindowStateNormal, the window is neither maximized nor minimized.

Example

This example maximizes the Publisher window.

ActiveWindow.WindowState = pbWindowStateMaximize

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.