Worksheet Names

  • Thread starter Thread starter Bre-x
  • Start date Start date
B

Bre-x

Hi,

is there a way to get Worksheet Names and enter that information on a
column?

Bre-x
 
Sub Macro1()
Dim i As Long
Dim sh As Worksheet
i = 2
For Each sh In ActiveWorkbook.Sheets
Range("A" & i) = sh.Name
i = i + 1
Next

End Sub

:P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top