#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 191
Default tab function

is there a function that will give me the sheet tab name of a cell or sheet?
--
Boris
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,073
Default tab function

BorisS wrote:
is there a function that will give me the sheet tab name of a cell or sheet?
--
Boris



Hi Boris

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

puts the tab name into A1. Workbook must be saved before it will work.

Ken Johnson

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default tab function

Enter this exactly as written in any cell of any sheet to return the Sheet name.

=MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)

Note: workbook must have been saved at least once.

There is no such thing as a sheet tab name of a cell.


Gord Dibben MS Excel MVP


On Mon, 18 Dec 2006 11:33:02 -0800, BorisS
wrote:

is there a function that will give me the sheet tab name of a cell or sheet?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,073
Default tab function


Ken Johnson wrote:
BorisS wrote:
is there a function that will give me the sheet tab name of a cell or sheet?
--
Boris



Hi Boris

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

puts the tab name into A1. Workbook must be saved before it will work.

Ken Johnson


I shouldn't have said "puts the tab name into A1". Obviously it puts
the tab name into the cell with the formula.
Ken Johnson

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 11:41 PM.

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"