Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Name off a sheet into a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Palle korsholm - 08 Feb 2008 11:27 GMT
I have a woorkbook and I like to put the names of one of the sheets into a
cell on one of the other sheets.

EX
Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the workbook

Signature

Palle korsholm

Bob Phillips - 08 Feb 2008 11:32 GMT
=MID(CELL("filename",Sheet3!A1),FIND("]",CELL("filename",Sheet3!A1))+1,99)

I know this requires the name of the sheet, but if you change it, the
formula picks up the change.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I have a woorkbook and I like to put the names of one of the sheets into a
> cell on one of the other sheets.
>
> EX
> Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the
> workbook
Gary''s Student - 08 Feb 2008 11:46 GMT
Here is a one-line UDF:

Function shname(i As Integer) As String
shname = Sheets(i).Name
End Function

For example, =shname(2) will return the name of the 2nd sheet
Signature

Gary''s Student - gsnu200768

> I have a woorkbook and I like to put the names of one of the sheets into a
> cell on one of the other sheets.
>
> EX
> Iin sheet 1 cell A1 I like to have the name of the 3th sheet in the workbook
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.