Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
List of open workbooks
is there a function or property that I can use that will give me a list of
all open work books currently running in excell 2003? I would like to know what books are open so that my macro can close them if need be. Thank you Josh |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
List of open workbooks
for each bk in Application.Workbooks
msgbox bk.Name Next -- Regards, Tom Ogilvy "Josh" wrote in message ... is there a function or property that I can use that will give me a list of all open work books currently running in excell 2003? I would like to know what books are open so that my macro can close them if need be. Thank you Josh |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
List of open workbooks
That was easy. thank you
Josh "Tom Ogilvy" wrote in message ... for each bk in Application.Workbooks msgbox bk.Name Next -- Regards, Tom Ogilvy "Josh" wrote in message ... is there a function or property that I can use that will give me a list of all open work books currently running in excell 2003? I would like to know what books are open so that my macro can close them if need be. Thank you Josh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
List Open Workbooks in a combobox | Excel Programming | |||
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed | Excel Programming | |||
Dialog Box List of Current Open Workbooks | Excel Programming | |||
Getting list of open workbooks | Excel Programming | |||
List Open Workbooks in VBA | Excel Programming |