Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DRHannay
 
Posts: n/a
Default how do I place the sheet tab name in my spreadsheet by formula?

how do I place the sheet tab name in my spreadsheet by formula?

Excel 2003

  #2   Report Post  
Paul Moles
 
Posts: n/a
Default



"DRHannay" wrote:

how do I place the sheet tab name in my spreadsheet by formula?

Excel 2003


Try:
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
  #3   Report Post  
Blue Hornet
 
Posts: n/a
Default

Alternatively, you could write a one-line function in VBA to do the
same thing, easier:

Function SheetName()
SheetName = ActiveSheet.Name
End Function

If this is stored in Personal.XLS where it is always available, you'd
call it on your worksheet with:

=PERSONAL.XLS!sheetname()

Otherwise, if it's stored in the current Workbook (or in an Add-in
which you enable), you could call it without the reference to
Personal.XLS

Chris

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default how do I place the sheet tab name in my spreadsheet by formula

Hello,
What would be the formula to add in filename into my spreadsheet?

"Paul Moles" wrote:



"DRHannay" wrote:

how do I place the sheet tab name in my spreadsheet by formula?

Excel 2003


Try:
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM
Chart wizard will not place (as object in) graph in same sheet harri Excel Worksheet Functions 0 August 10th 05 03:48 AM
Copying Specific Values From Sheet Jenn Excel Discussion (Misc queries) 1 July 11th 05 09:22 PM
Find a non-blank cell and bring back text a in same row Rod Excel Worksheet Functions 12 March 24th 05 09:43 PM
make an excel worksheet (sheet 2) open w/ the cursor located in t. animated text in excel worksheet Excel Discussion (Misc queries) 0 February 10th 05 10:29 PM


All times are GMT +1. The time now is 04:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"