Results 1 to 3 of 3

Listing Worksheet Names

Threaded View

  1. #1
    Registered User
    Join Date
    01-13-2009
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2003
    Posts
    52

    Listing Worksheet Names

    Hi -

    I use to following code to list worksheet names, but I was wondering if anyone could provide a little insight into how one may be able to edit the code to list only the worksheet names between to sheets?

    Private Sub Worksheet_Activate()
    Dim NumSheets
    NumSheets = Worksheets.Count
    Dim i
    For i = 1 To NumSheets
    Range("A" & i) = Sheets(i).Name
    Next i
    End Sub
    Last edited by wjsok85; 03-04-2010 at 11:47 AM. Reason: Solved

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