Let's assume this scenario. I have an Excel file with the name Test.xls and within there are 3 worksheets, namely Main, Production and Supply.
In the Main worksheet, I want to calculate the cell A3 to determine if it is Production or Supply. Also, in cell C3, I have this hyperlink that will take me to the respective worksheet, depending on the value in cell A3. Thus, in cell C3, I have this formula
=IF(A3="P",HYPERLINK("[Test.xls]Production!D2","NEXT >>>"),HYPERLINK("[Test.xls]Supply!D2","NEXT >>>"))
What this does is that if the value in cell A3 = P and I click on the hyperlink of cell C3, it will take me to cell D2 of Production workheet.
This has been working well so far, until there's a need to change the filename. The alternative is to change the hyperlink function to reflect the current file name in order for the hyperlink to work.
My query is, are there any other method that I can use to perform the same function mentioned above. This is because the file name tends to change and yet I still want the hyperlink to work.
Looking forward to see what you / anyone have in mind and thank you.