ProtectedViewWindow.WindowState procedure builder

ProtectedViewWindow.WindowState (Excel)

Returns or sets the state of the specified Protected View window.

Possible Values are xlProtectedViewWindowMaximized - Maximized, xlProtectedViewWindowMinimized - Minimized, xlProtectedViewWindowNormal - Normal.
Application.ActiveProtectedViewWindow.WindowState = xlProtectedViewWindowMaximized