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

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