Hi there! I am using INDIRECT to make it so that I can reorder my tabs and have the data on a summary page track. However, with tons and tons of tabs, I need the hyperlink to track. So, if I move the tab from position 1 to position 5, I want the hyperlink to still direct to position 1.
I have tried:
=HYPERLINK(INDIRECT("'" & sheetname(3) & "'!e11"))
This shows the proper proper data from the sheet, but the hyperlink shows a security concern.
Any ideas on how I can do this?
Thank you!
My function for sheetname is:
Function SheetName(i As Integer) As String
SheetName = Application.Caller.Worksheet.Parent.Sheets(i).Name
End Function
I have tried:
=HYPERLINK(INDIRECT("'" & sheetname(3) & "'!e11"))
This shows the proper proper data from the sheet, but the hyperlink shows a security concern.
Any ideas on how I can do this?
Thank you!
My function for sheetname is:
Function SheetName(i As Integer) As String
SheetName = Application.Caller.Worksheet.Parent.Sheets(i).Name
End Function