PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting Re: Return Sheet Name?

Reply

Re: Return Sheet Name?

 
Thread Tools Rate Thread
Old 08-07-2003, 04:11 PM   #1
Gord Dibben
Guest
 
Posts: n/a
Default Re: Return Sheet Name?


Nick

Copy/paste this UDF to a general module in your workbook.

Function shtname()
Application.Volatile
shtname = Application.Caller.Parent.Name
End Function

In any cell enter =shtname()

Gord Dibben Excel MVP - XL97 SR2 & XL2002

On Tue, 8 Jul 2003 09:40:14 -0400, "Nick Fuller @ BFA" <nfuller@bfa-eng.com>
wrote:

>Is there a way to return a sheetname in a cell?
>
>i.e ='sheetname'
>
>any help would be greatly appreciated.
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off