web 2.0


Change name of a worksheet according to a cell value

This short code shows you how to change a worksheet name in Excel by attaching its name to a cell...


 


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Me.Name = Range("A1").Text
End Sub

 

Tags: , ,

Microsoft Excel | Microsoft Excel - VBA

Comments are closed