Results 1 to 5 of 5

Listing worksheet names and extracting specific row data

Threaded View

  1. #1
    Registered User
    Join Date
    02-04-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Listing worksheet names and extracting specific row data

    Hi there, I wonder if you can help. I have a spreadsheet with 50 plus worksheets. I want to insert a summary sheet which list all the worksheet names except hidden sheets, and then copies the data in a row specified by a user on the summary sheet. For instance, work sheets are named A-Z and column A of each row contains the row number. On the summary sheet there is a box titled "enter row number" and user enters "100"
    List generated looks like this:
    A 100
    B 100
    C 100
    etc...

    I have the macro to list the worksheets as
    Sub ListWorkSheetNames()
    
    For i = 1 To Sheets.Count
    Range("A" & i) = Sheets(i).Name
    Next i
    
    End Sub

    but need to make it ignore hidden sheets.

    I can then either put a macro in to gather the required row info or use Lookup and if functions - whatever is easier.

    Thanks in advance for any help you can offer,
    Nina
    Last edited by boatbabe; 08-17-2011 at 12:03 PM. Reason: Added Code Tags

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