ProtectedViewWindow.WindowState (Excel)

Returns or sets the state of the specified Protected View window. Possible return values are xlProtectedViewWindowMaximized - Maximized, xlProtectedViewWindowMinimized - Minimized, xlProtectedViewWindowNormal - Normal.


Application.ActiveProtectedViewWindow.WindowState = xlProtectedViewWindowMaximized