tab naming
1) yes, with sheet level code like this
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then ActiveSheet.Name = Range("a1").Value
End Sub
2) yes, with
=MID(CELL("Filename"),FIND("]",CELL("Filename"))+1,255)
this only works on a workbook that has been saved.
--
Allllen
" wrote:
is there anyway to have either
1) a cell drive the naming of a worksheet
or
2) a worksheet drive the naming of a cell?
thanks.
|