ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sheet Name Changes how do i code for that (https://www.excelbanter.com/excel-worksheet-functions/149687-sheet-name-changes-how-do-i-code.html)

Sonic

Sheet Name Changes how do i code for that
 
=IF(ISERROR(INDEX([OrderGuideDBS.xls]COG!$A$1:$D$377,MATCH(B4,[OrderGuideDBS.xls]COG!$B$1:$B$377,0),3)),"",INDEX([OrderGuideDBS.xls]COG!$A$1:$D$377,MATCH(B4,[OrderGuideDBS.xls]COG!$B$1:$B$377,0),3))


Ok here is my formula and my problem

OrderGuideDBS.xls is the file name always the same
COG name of the sheet that i forgot was going to change i do not know what
it is going to change to untill i upload the new sheet.

How can i change the about formula to seach the file and bring back the new
sheets name so my code will work

Thank you all for your help


All times are GMT +1. The time now is 02:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com