+ Reply to Thread
Results 1 to 4 of 4

Add Worksheet Names to an Array

  1. #1
    Registered User
    Join Date
    03-16-2006
    Posts
    81

    Add Worksheet Names to an Array

    I have a workbook with 8 (maybe sometimes more) worksheets and am trying to figure out how to add all the names of the worksheets to an array.

    Please Login or Register  to view this content.
    Question is, what code do i use to add the worksheet name to the array? Or is there a better way to do this?

    Thanks

  2. #2
    Registered User
    Join Date
    03-16-2006
    Posts
    81
    It's ok, figured it out

    worksheet name needs to be sht.name

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650
    Hi This is one way:-
    Please Login or Register  to view this content.
    Regards Mick

  4. #4
    Forum Contributor
    Join Date
    03-25-2008
    MS-Off Ver
    Excel, Outlook, Word 2007/2003
    Posts
    245
    Please Login or Register  to view this content.
    Charlize

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy different columns from multiple worksheets into 1 worksheet
    By dakke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2008, 05:50 PM
  2. Table Array Entire Worksheet Instead Of Named Range
    By Spencer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2007, 11:18 PM
  3. How to create menu of worksheet names?
    By NICKW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2007, 01:37 PM
  4. changing worksheet names in VBA
    By Kimberly in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 12-07-2006, 04:44 PM
  5. Importing Names from another worksheet
    By oldtimer26 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2006, 07:05 PM

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