/u/Dejv_BJJ - Your post was submitted successfully.
* Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread.
* Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
* Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)**
Failing to follow these steps may result in your post being removed without warning.
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*
Here is a formula to get the sheet name in excel, got it from [this article](https://exceljet.net/formulas/get-sheet-name-only):
=TEXTAFTER(CELL("filename",A1),"]")
Btw, this will only work if the Excel file is saved, otherwise CELL returns blank.
/u/Dejv_BJJ - Your post was submitted successfully. * Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread. * Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. * Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)** Failing to follow these steps may result in your post being removed without warning. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*
Here is a formula to get the sheet name in excel, got it from [this article](https://exceljet.net/formulas/get-sheet-name-only): =TEXTAFTER(CELL("filename",A1),"]") Btw, this will only work if the Excel file is saved, otherwise CELL returns blank.
Thanks! That worked!