Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
determine the active workbook containing a specific sheet
Dear experts,
I am trying to determine within my open workbooks the one that contains the sheet "Instructions", workbook that I would like to activate. My code (not working!) is the following: i = 0 Do i = i + 1 Loop Until IsError(Workbooks(i).Worksheets("Instructions")) = False Workbooks(i).Activate WBReport = Workbooks(i).Name Could you please help me? Many thanks! Best regards, -- Valeria |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
copy value from active sheet to another workbook | New Users to Excel | |||
Consolidation of data from cell in active sheet of closed workbook | Excel Worksheet Functions | |||
Open Specific Sheet in Workbook | Excel Programming | |||
Auto Populate sheet name of active workbook in Combobox in Command | Excel Programming | |||
Reliably get sheet 1 of the active workbook | Excel Programming |