+ Reply to Thread
Results 1 to 2 of 2

Can I print the tab names in an Excel spreadsheet?

  1. #1
    CLAMJ
    Guest

    Can I print the tab names in an Excel spreadsheet?


    --
    Char James

  2. #2
    Bob Phillips
    Guest

    Re: Can I print the tab names in an Excel spreadsheet?

    Sub PrintSheets()
    Dim sh As Object
    Dim i As Long

    For Each sh In ActiveWorkbook.Sheets
    i = i + 1
    Cells(i, "A").Value = sh.Name
    Next sh

    End Sub


    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "CLAMJ" <[email protected]> wrote in message
    news:[email protected]...
    >
    > --
    > Char James




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1