View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\)[_283_] Rick Rothstein \(MVP - VB\)[_283_] is offline
external usenet poster
 
Posts: 1
Default how can I make a cell content equal the tab name 'sheet1' ?

Did you mean to post your message against my posting (you said Gord in your
message)?

Rick


"ryguy7272" wrote in message
...
I like that code Gord! This is my favorite site for dynamic tab names and
such:
http://www.mcgimpsey.com/excel/formu..._function.html


Regards,
Ryan--
--
RyGuy


"Rick Rothstein (MVP - VB)" wrote:

Another possibility is to run this macro from the cell you want to place
the
worksheet tab's name in...

Sub PutTabNameInActiveCell()
ActiveCell.Value = ActiveSheet.Name
End Sub

Rick


"balder" wrote in message
...
Is there a way to make a cell content in a spreadsheet equal to the tab
name
of that spread sheet w/o having to type the tab name into the cell?
Like b1="tab name" where tab name would be copied into cell b1