Jun 25 2024 01:06 PM
Is there an EXCEL function that returns the current (open) filename?
Is there an EXCEL function that returns the current (open) worksheet name?
Jun 25 2024 02:28 PM
SolutionPerhaps
=TEXTBEFORE(TEXTAFTER(CELL("filename", A1), "["), "]")
and
=TEXTAFTER(CELL("filename", A1), "]")
Jun 25 2024 02:29 PM
You may use =CELL("filename") and parse returned text. If only you are not on Excel for Web.
Lot of samples how to use, google for them.
Jun 28 2024 12:58 PM
Jun 25 2024 02:28 PM
SolutionPerhaps
=TEXTBEFORE(TEXTAFTER(CELL("filename", A1), "["), "]")
and
=TEXTAFTER(CELL("filename", A1), "]")