Ah, I think...

A

Arne

Hmm, the statement

Application.WindowState = xlMinimized

did not result in all windows getting minimized. The
following does minimize all Excel workbook windows. But I
still do not know if it speeds things up.

Dim wkb As Workbook
Dim OldDispAlerts As Boolean
Dim w As Window

OldDispAlerts = Application.DisplayAlerts
Application.DisplayAlerts = False
For Each w In Application.Windows
w.WindowState = xlMinimized
Next w
For Each wkb In Workbooks
If Not (wkb Is ThisWorkbook) Then
wkb.Close SaveChanges:=False
End If
Next wkb
Application.DisplayAlerts = OldDispAlerts
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top