Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Sheet name posted on the sheet

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I need to grab the names of each tab and post them on a worksheet

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi John


    Try this


    Code:
    Sub ListAllSheets()
    Dim i As Integer
    
    For i = 1 To Sheets.Count 'Includes chart sheets
        Sheets(1).Cells(i, 1) = Sheets(i).Name
    Next i
    
    End Sub

  3. #3
    Board Regular
    Join Date
    Mar 2002
    Posts
    363
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try this:

    =MID(CELL("filename"),FIND("]",D582,1)+1,1000)

    It's never too late to learn something new.

    Ricky

  4. #4
    Board Regular
    Join Date
    Feb 2002
    Location
    Houston, TX
    Posts
    359
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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