J
Jeremy Gollehon
Using OfficeXP.
In a fresh workbook from the immediate window...
This works.
Worksheets(Array("Sheet1", "Sheet2")).Visible = xlSheetHidden
This:
Worksheets(Array("Sheet1", "Sheet2")).Visible = xlSheetVisible
gives the following error
Run-time error '1004':
Unable to set the Visible property of the Sheets class
This seems like an easy one, but I haven't been able to find an answer.
Thanks,
-Jeremy
In a fresh workbook from the immediate window...
This works.
Worksheets(Array("Sheet1", "Sheet2")).Visible = xlSheetHidden
This:
Worksheets(Array("Sheet1", "Sheet2")).Visible = xlSheetVisible
gives the following error
Run-time error '1004':
Unable to set the Visible property of the Sheets class
This seems like an easy one, but I haven't been able to find an answer.
Thanks,
-Jeremy