Hi,
I have worksheet 1 (Attendance) which has names (last, first) in rows 4-20 and columns B-C
On worksheet 2 (client name) I have in cell H5 this formula:
which is the Client Name
This part works fine.
I also have code:
(placed in 'thisworkbook') that names the sheet tab the value of worksheet 2, cell H5, therefore the client name.
My problem.
If I change the client name on sheet one, it updates on sheet 2 but the sheet tab does not update unless I double-click (activate) cell H5 (on sheet 2).
Any ideas how to get this to update automatically when I re-open the sheet?
thanks
Paul
I have worksheet 1 (Attendance) which has names (last, first) in rows 4-20 and columns B-C
On worksheet 2 (client name) I have in cell H5 this formula:
Code:
=Attendance!C4&" "&Attendance!B4
This part works fine.
I also have code:
Code:
Private Sub Workbook_Open()
Application.StatusBar = ""
End Sub
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
If Target.Address = "$H$5" Then Sh.Name = Target
End Sub
My problem.
If I change the client name on sheet one, it updates on sheet 2 but the sheet tab does not update unless I double-click (activate) cell H5 (on sheet 2).
Any ideas how to get this to update automatically when I re-open the sheet?
thanks
Paul