Many thanks, Nick !
Runs smooth, but a small tweak requested as the sub also
minimizes my other windows (window2, 3, etc) opened in Book1.xls
I need these other windows to remain as-is.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"NickHK" <TungCheWah@Invalid.com> wrote in message
news:uERLQU6MGHA.3732@TK2MSFTNGP10.phx.gbl...
> Max,
>
> Private Sub CommandButton1_Click()
> Dim Wnd As Window
>
> 'Quick way to handle Personal.xls and other hidden windows
> On Error Resume Next
> For Each Wnd In Application.Windows
> If Wnd.Caption <> ActiveWindow.Caption Then
> Wnd.WindowState = xlMinimized
> End If
> Next
>
> End Sub
>
> NickHK
Bookmarks