Sheet Name Code Excel Download Template Formula Example
I'm afraid the only way I know how to get the worksheet name of an active worksheet using a formula would be using a combination of LEFT and RIGHT statements within a CELL("filename",A1) sort of formula There has GOT to be an easier way I know that I can also do something in VBA like Private Sub Worksheet_Activate() A1Value = ActiveSheetNameAlternative Formula to Get Sheet Name (MID formula) There are many different ways to do the same thing in Excel And in this case, there is another formula that works just as well Instead of the RIGHT function, it uses the MID function Below is the formula =MID(CELL("filename"),FIND("",CELL("filename"))1,255)