ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multiple excel windows (https://www.excelbanter.com/excel-programming/286928-multiple-excel-windows.html)

wbl[_3_]

Multiple excel windows
 
Hi,

How can list all open excel windows and activate a other window by VBA
code ?

Regards,

wbl


---
Message posted from http://www.ExcelForum.com/


Bob Phillips[_6_]

Multiple excel windows
 
Wbl,

Does this help?

Dim win As Window

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

Windows("Book1").Activate



--

HTH

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

"wbl " wrote in message
...
Hi,

How can list all open excel windows and activate a other window by VBA
code ?

Regards,

wbl


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 11:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com