View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
losmac losmac is offline
external usenet poster
 
Posts: 27
Default Files visible or not...

Sub EnumWorkbooks()
Dim wrbk As Workbook

For Each wrbk In Workbooks
MsgBox wrbk.Name & vbCrLf & wrbk.Windows(wrbk.Name).Visible
Next wrbk

End Sub


Uzytkownik "rj" napisal w wiadomosci
...
Can someone help me out on something I'm sure is easier
than I'm making it? Brain block. Is it Monday?

I need a quick efficient method of looping through all
currently open workbooks and pop up a message box that
tells me the workbook name and whether or not its visible.

Your example code is what I need. Thanks in advance...