Which windows are open?

  • Thread starter Thread starter nath
  • Start date Start date
Nath,

Try something like

Dim Wnd As Window
For Each Wnd In Application.Windows
Debug.Print Wnd.Caption
Next Wnd



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Dim wnd

For Each wnd In Windows
Debug.Print wnd.Caption
Next wnd


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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

Similar Threads

Working through files in a directory 1
Clearing Combo Boxes. 2
Deletion of charts 1
Printing 3
User form question 1
Global vars 1
Command Bars 2
List boxes 1

Back
Top