Created
August 5, 2020 20:22
-
-
Save tanzilhuda/dc81359e726ca341a17feaae18747ada to your computer and use it in GitHub Desktop.
Rename Sheet basis of row or column name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub RenameSheet() | |
Dim rs As Worksheet | |
For Each rs In Sheets | |
rs.Name = rs.Range("B2") | |
Next rs | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment