goblin said:And as sheetnames can not be longer than 31 characters, the formula for the sheetname can be shortened to:
=MID(CELL("filename"),SEARCH("]",CELL("filename"))+1,32)
which is SO much simpler to understand!!![]()
![]()
masim said:Give this a try....
Paste this in a normal module of ur workbook.
In cell A1 of every sheet u can have the following formula.
=ws()
Function WS() As String
Application.Volatile
WS = ActiveSheet.Name
End Function
Regards
Asim
Anyone up out there that could give me revision of one of these formulas to just show the file name "only" in a cell?? No add-ins...