ActiveSheet.ShowAllData failing - 1004
the worksheet ("TPRs").activate line is right before and seems to work because I can see the activesheet object in watch window.
the TPRs worksheet has 1 list object and 1 pivottable whose cache is the list the listobject on the same worksheet.
the sheet is unprotected.
other worksheets that have pivottables and charts based upon the cache from the list object on the TPRs worksheet are also unprotected.
I cn manually select all cells on the TPRs sheet and rightclick and unhide. If I record that action I get
Cells.Select
Selection.EntireRow.Hidden = False
Is that not the same thing? Would rather use ShowAllData, but guess I could go with that...
I am using excell 2007- any thoughts why the basic command isnt working for me? thank you!
the worksheet ("TPRs").activate line is right before and seems to work because I can see the activesheet object in watch window.
the TPRs worksheet has 1 list object and 1 pivottable whose cache is the list the listobject on the same worksheet.
the sheet is unprotected.
other worksheets that have pivottables and charts based upon the cache from the list object on the TPRs worksheet are also unprotected.
I cn manually select all cells on the TPRs sheet and rightclick and unhide. If I record that action I get
Cells.Select
Selection.EntireRow.Hidden = False
Is that not the same thing? Would rather use ShowAllData, but guess I could go with that...
I am using excell 2007- any thoughts why the basic command isnt working for me? thank you!