View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default How can I make the names for Sheet tabs a reference to a cell?

This may help:

Sub Macro1()
Sheets(1).Select
Sheets(1).Name = Cells(1, 1).Value
End Sub

This tiny macro will set the name of the tab equal to the value in cell A1,
for the first tab..

It can be easily modified to loop over all tabs, use different cells, etc.
--
Gary''s Student


"PDS" wrote:

I want the tab names in my workbook to be cell references. If it is a Macro
function I will need the formula.