insert the name of sheets inti a column A

S

sal21 sal21

I have a wbook with many sheets named from 0000 to 9999 (for example
0000, 4300, 4500, 7200...ecc...).
I would want to insert the name of each sheets into the column A of the
sheet LISTA (start the copy name from A3)present into same wbook.
Note: into wbook are present sheets TEST1, TEST2 and TEST3 for thsi
sheets not is important to insert the name into sheet LISTA.




*** Sent via Developersdex http://www.developersdex.com ***
 
B

Bob Phillips

i = 3
For Each sh In Activeworkbook.Sheets
If sh.Name <> "LISTA" Then
Cells(i,"A").Value = sh.Name
i = i + 1
End If
Next sh

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Top