worksheet name excel 2002

S

Shah Shailesh

Hi Ibo,

You can use UDF to get sheet name no matter workbook was
saved or not.

Put this code to any standard Module.

Function GetShtName()
With Application
.Volatile (True)
GetShtName = .Caller.Parent.Name
End With
End Function


In any cell (e.g. A1) type below formula to get sheet name.
=GetShtName()

Regards,
Shah Shailesh
http://members.lycos.co.uk/shahweb/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top