View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Get sheet name in formula

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,999)


In VBA, just:
MsgBox(ActiveSheet.Name)
--
Gary''s Student - gsnu200905


"xp" wrote:

Is there a formula that will return the current sheet name?

like: =Cell("Sheetname")

Thanks in advance!