#1   Report Post  
Andrew
 
Posts: n/a
Default Returning Sheetname

Hi,

Probably an easy one but I can't work it out. I want to get the curent
sheet name and place it in cell A1. I thought I could use something like
'=CELL("Sheetname",A1) but no.
--
Andrew
  #2   Report Post  
Paul B
 
Posts: n/a
Default

Andrewm try this, file must be saved first
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)




--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Andrew" wrote in message
...
Hi,

Probably an easy one but I can't work it out. I want to get the curent
sheet name and place it in cell A1. I thought I could use something like
'=CELL("Sheetname",A1) but no.
--
Andrew



  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

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

HTH
Jason
Atlanta, GA

"Andrew" wrote:

Hi,

Probably an easy one but I can't work it out. I want to get the curent
sheet name and place it in cell A1. I thought I could use something like
'=CELL("Sheetname",A1) but no.
--
Andrew

  #4   Report Post  
Andrew
 
Posts: n/a
Default

Worked a treeat - thanks.
--
Andrew


"Jason Morin" wrote:

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

HTH
Jason
Atlanta, GA

"Andrew" wrote:

Hi,

Probably an easy one but I can't work it out. I want to get the curent
sheet name and place it in cell A1. I thought I could use something like
'=CELL("Sheetname",A1) but no.
--
Andrew

  #5   Report Post  
Markus Bartsch
 
Posts: n/a
Default

Hi,

I'm working on that problem, too. The formula you passed does not seem to work in a German environment. Can anyone help?

Markus

-------- Original Message --------
Subject: Returning Sheetname (20-Mai-2005 4:08)
From: Andrew
To: microsoft.public.excel.misc

Worked a treeat - thanks.
--
Andrew


"Jason Morin" wrote:

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

HTH
Jason
Atlanta, GA

"Andrew" wrote:

Hi,

Probably an easy one but I can't work it out. I want to get the curent
sheet name and place it in cell A1. I thought I could use something like
'=CELL("Sheetname",A1) but no.
--
Andrew





  #6   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Hi Markus,

Please check the "Info_type" or the first argument that the function CELL
takes in your environment.

Mangesh




"Markus Bartsch" wrote in message
...
Hi,

I'm working on that problem, too. The formula you passed does not seem to

work in a German environment. Can anyone help?

Markus

-------- Original Message --------
Subject: Returning Sheetname (20-Mai-2005 4:08)
From: Andrew
To: microsoft.public.excel.misc

Worked a treeat - thanks.
--
Andrew


"Jason Morin" wrote:

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

HTH
Jason
Atlanta, GA

"Andrew" wrote:

Hi,

Probably an easy one but I can't work it out. I want to get the

curent
sheet name and place it in cell A1. I thought I could use something

like
'=CELL("Sheetname",A1) but no.
--
Andrew





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
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
How do I have a formula lookup a sheetname? Mim Excel Worksheet Functions 2 February 1st 05 03:49 PM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM
Replace a sheetname with a cell reference to link to another work. lindaw2323 Excel Worksheet Functions 1 November 17th 04 06:20 AM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 07:42 PM


All times are GMT +1. The time now is 01:59 PM.

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

About Us

"It's about Microsoft Excel"