Working with the Active Inspector : ActiveInspector « Application « VBA / Excel / Access / Word






Working with the Active Inspector

 
'Maximizes the window of the topmost inspector:
Sub window()
    Application.ActiveInspector.WindowState = olMaximized
End Sub

 








Related examples in the same category

1.Check that the TypeName function does not return Nothing when run on the ActiveInspector method of the Application object:
2.Using the Close Method
3.Using the SaveAs Method