WindowUnhide Method
Shows a hidden window.
Syntax
expression**.WindowUnhide(Name)**
*expression * Optional. An expression that returns an Application object.
Name Optional String. The name of a hidden window to show. The name of a window is the exact text that appears in the title bar of the window. If Name is omitted, the Unhide dialog box appears, which prompts the user to show a hidden window in the active project.
Example
The following example unhides all open windows.
Sub UnhideAllWindows()
Dim I As Long ' Index for For...Next loop
For I = 1 To Windows.Count
If Not Windows(I).Visible Then
WindowUnhide Windows(I).Caption
End If
Next I
End Sub
Applies to | Application Object
See Also | WindowActivate Method | WindowArrangeAll Method | WindowHide Method | WindowMoreWindows Method | WindowNewWindow Method | WindowNext Method | WindowPrev Method