Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default CELL Function and Worksheet Name in a Cell

I have a workbook with 23 worksheets.

I need the worksheet name to be automatically inserted into a
cell on each worksheet.

Worksheet names are all 5 characters - example is 14-01

I'm using =Right(Cell("Filename"),5)

It works - sort of. But does not automatically calculate. When I
recalculate every worksheet gets the same value (the number of
the active worksheet when I press F9)

Is this just a quirk of Excel, or is there another way to do it?

Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default CELL Function and Worksheet Name in a Cell

OK - I solved my own problem.

Change the formula to be:

=Right(Cell("Filename",B5),5) where B5 is the cell where the
formula is.


David wrote:
I have a workbook with 23 worksheets.

I need the worksheet name to be automatically inserted into a cell on
each worksheet.

Worksheet names are all 5 characters - example is 14-01

I'm using =Right(Cell("Filename"),5)

It works - sort of. But does not automatically calculate. When I
recalculate every worksheet gets the same value (the number of the
active worksheet when I press F9)

Is this just a quirk of Excel, or is there another way to do it?

Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default CELL Function and Worksheet Name in a Cell

David

You can use any cell reference.....but you must use one, as you have discovered.


Gord Dibben MS Excel MVP

On Sat, 08 Jul 2006 13:22:31 -0700, David wrote:

OK - I solved my own problem.

Change the formula to be:

=Right(Cell("Filename",B5),5) where B5 is the cell where the
formula is.


David wrote:
I have a workbook with 23 worksheets.

I need the worksheet name to be automatically inserted into a cell on
each worksheet.

Worksheet names are all 5 characters - example is 14-01

I'm using =Right(Cell("Filename"),5)

It works - sort of. But does not automatically calculate. When I
recalculate every worksheet gets the same value (the number of the
active worksheet when I press F9)

Is this just a quirk of Excel, or is there another way to do it?

Thanks for any help.


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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Using IF function maryjayhawk Excel Worksheet Functions 3 March 30th 06 10:05 PM
Setting Cell Number Format With A Worksheet Function [email protected] Excel Worksheet Functions 1 December 16th 05 07:37 PM
What worksheet function will formatlessly copy cell contents? MargueriteL Excel Worksheet Functions 1 June 7th 05 04:16 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM


All times are GMT +1. The time now is 02:34 AM.

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"