View Single Post
  #1   Report Post  
JPh12 JPh12 is offline
Junior Member
 
Posts: 0
Default Shortcut to minimize document

Is there a shortcut to minimize an active Word document (in a window opened with the "Windows in Taskbar" View option unchecked, obviously)?

How about a shortcut to minimize all documents?

I tried the macro Stefan Blom offered for this purpose (http://www.wordbanter.com/showthread...ight=minimize), but it breaks saying "cannot set the state of an inactive window"(I'm using Word 2003).

Sub TestMacro()
Dim w As Window
For Each w In Application.Windows
w.WindowState = wdWindowStateMinimize
Next w
End Sub


Thank you

Last edited by JPh12 : August 20th 18 at 11:50 PM