R
Riddler
I have 2 workbooks thats are linked with a cell reference. I make a
cell change on book1 and a cell in book 2 changes. I want to be able
to get the name of the sheet that the calculate event runs on in book2
to hide rows that do not contain values. Currently my code runs on the
Worsheet_calculate event but book1 is the active workbook even though
the cacluate code that runs is in book2. The problem is that this code
looks at book1 cell values to hide or show rows not the cells in book2
on the specific sheet. I dont want to code in the sheet names either
as they may and will change and there are many sheet.
Basically I am looking to get the name of the sheet that the calculate
event is running because of with the workbook not being active.
Thanks
Scott
cell change on book1 and a cell in book 2 changes. I want to be able
to get the name of the sheet that the calculate event runs on in book2
to hide rows that do not contain values. Currently my code runs on the
Worsheet_calculate event but book1 is the active workbook even though
the cacluate code that runs is in book2. The problem is that this code
looks at book1 cell values to hide or show rows not the cells in book2
on the specific sheet. I dont want to code in the sheet names either
as they may and will change and there are many sheet.
Basically I am looking to get the name of the sheet that the calculate
event is running because of with the workbook not being active.
Thanks
Scott