Insert Tabname Into a Cell
A formula to insert the tabname in a cell in excel:
=MID(CELL(“filename”,A1),SEARCH(“]”,CELL(“filename”,A1))+1,LEN
(CELL(“filename”,A1))-SEARCH(“]”,CELL(“filename”,A1)))
Note: Remove the line break from the formula in Excel.



hi,
=RIGHT(CELL(“filename”,A1),LEN(CELL(“filename”
,A1))-SEARCH(“]”,CELL(“filename”,A1)))
is a slightly less complex method of achieveing the same result