Article ID: 113392
Article Last Modified on 6/11/2007
Function Sheetname()
Application.Volatile
Sheetname = Application.Caller.Parent.Name
End Function
Function SName()
Application.Volatile
SName = ActiveSheet.Name
End Function
Note that SName() returns the name of the active sheet, not the name of the
sheet that the function is on. This may not produce the results you expect
if you use this function with linked sheets.
Additional query words: 5.0 7.0 8.0 XL98 XL97 XL7 XL5 applications edition XL
Keywords: kbdtacode kbhowto kbprogramming KB113392