XL2000: For Each Loop to Determine If an Excel Workbook Is Open (213299)
The information in this article applies to:
This article was previously published under Q213299 SUMMARY
Microsoft Excel does not include a Microsoft Visual Basic for Applications function to determine whether a workbook is already open. The following sample user-defined function loops through all of the opened workbooks in memory to determine whether a specific workbook is already open in the current instance of Excel.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB213299 |
---|
|