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 / Printing / January 2008

Tip: Looking for answers? Try searching our database.

Print Sheet Names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mickey - 25 Jan 2008 13:59 GMT
Hey,
Does anyone know if it's possible to print a list of just the sheet names.

Thanks,
Mickey
Gord Dibben - 25 Jan 2008 18:39 GMT
One way would be to use a macro to populate column A of a new sheet with the
names.  Print that list.

Private Sub ListSheets()
'list of sheet names starting at A1
 Dim Rng As Range
 Dim i As Long
  Worksheets.Add(After:=Worksheets(Worksheets.Count)).Name = "List"
     Set Rng = Range("A1")
        For Each Sheet In ActiveWorkbook.Sheets
     Rng.Offset(i, 0).Value = Sheet.Name
     i = i + 1
 Next Sheet
End Sub

Gord Dibben  MS Excel MVP

>Hey,
>Does anyone know if it's possible to print a list of just the sheet names.
>
>Thanks,
>Mickey

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.