Created
February 1, 2015 08:09
-
-
Save SourceCode/ff88783b0f62e60d5ff1 to your computer and use it in GitHub Desktop.
Sets current workbook to names of existing workbook tabs
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 ListWorkSheetNames() | |
'Updateby20140624 | |
Dim xWs As Worksheet | |
Set xWs = Application.ActiveSheet | |
For i = 1 To Application.Sheets.Count | |
xWs.Range("A" & i) = Application.Sheets(i).Name | |
Next i | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment