Returns or sets a PbWindowState constant indicating the state of the Microsoft Publisher window. Read/write.
PbWindowState can be one of these PbWindowState constants. |
pbWindowStateMaximize |
pbWindowStateMinimize |
pbWindowStateNormal |
expression.WindowState
expression Required. An expression that returns one of the objects in the Applies To list.
When the state of the window is pbWindowStateNormal, the window is neither maximized nor minimized.
This example maximizes the Publisher window.
ActiveWindow.WindowState = pbWindowStateMaximized