Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Print list of ws names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joanne - 08 Oct 2007 18:33 GMT
Is there a way in Excel 2003 to print out the names of all the
worksheets in my workbook?
Thank your for your help
Joanne
Niek Otten - 08 Oct 2007 19:03 GMT
Hi Joanne,

Look at this discussion:

http://groups.google.com/group/microsoft.public.excel.worksheet.functions/browse
_frm/thread/32ce300545721b2e/a8b458779cf90a9b?lnk=st&q=&rnum=52#a8b458779cf90a9b


Note that the link may be split over more lines; paste them in one line in your browser

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Is there a way in Excel 2003 to print out the names of all the
| worksheets in my workbook?
| Thank your for your help
| Joanne
CLR - 08 Oct 2007 19:42 GMT
Don't remember who in the group gave this to me, but it works good.......

Sub ListSheets()
'Lists all SheetNames in Workbook on new sheet called "SheetNames"
On Error Resume Next
Sheets.Add.Name = ("SheetNames")
For i = 1 To Worksheets.Count
Cells(i, "a") = Sheets(i).Name
Next i
End Sub

Vaya con Dios,
Chuck, CABGx3

> Is there a way in Excel 2003 to print out the names of all the
> worksheets in my workbook?
> Thank your for your help
> Joanne
Joanne - 08 Oct 2007 15:16 GMT
Thanks Chuck
I appreciate your efforts
Joanne

> Don't remember who in the group gave this to me, but it works good.......
>
[quoted text clipped - 14 lines]
> > Thank your for your help
> > Joanne

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.