Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Files visible or not...
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... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Files visible or not...
Dim wkbk as Workbook
for each wkbk in Application.Workbooks if wkbk.Windows(1).Visible then msgbox wkbk.Name " is Visible" else msgbox wkbk.Name " is not Visible" end if Next -- Regards, Tom Ogilvy "rj" wrote in message ... 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... |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
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... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Multiple Excel files visible | Setting up and Configuration of Excel | |||
Excel 2007 tmp files filling up drive with XLSM files | Excel Worksheet Functions | |||
How to change default Open/Files of Type to "Microsoft Excel Files | Excel Discussion (Misc queries) | |||
Autoshapes not visible on spreadsheet but visible in print preview | Excel Discussion (Misc queries) | |||
Help: Copying Visible Cells only to Visible cells! | Excel Programming |