Put this Event macro in the worksheet code area:
Private Sub Worksheet_Change(ByVal Target As Range)
Set t = Target
Set a = Range("A:A")
If Intersect(t, a) Is Nothing Then Exit Sub
n = t.Row
Sheets(n + 1).Name = t.Value
End Sub

Signature
Gary''s Student - gsnu200772
> > Sub renamre()
> > Sheets("Sheet1").Activate
[quoted text clipped - 10 lines]
>
> Thanks
LRay67 - 11 Mar 2008 14:49 GMT
Gary, how would you rename the tab with a Text Box on a worksheet? Not a
userform
I've tried the following doesn't seem to work.
Private Sub TextBox127_LostFocus()
ActiveSheet.Name = Me.Textbox127.value
End Sub
> Put this Event macro in the worksheet code area:
>
[quoted text clipped - 20 lines]
> >
> > Thanks