+ Reply to Thread
Results 1 to 2 of 2

How to get worksheet names to cells?

  1. #1
    Registered User
    Join Date
    04-09-2004
    Posts
    23

    Question How to get worksheet names to cells?

    I have a workbook that imports several files and creates one worksheet per file--on a regular basis. The file names change occasionally and each worksheet is named after the file name.

    What I would like to do next is....create one more manual worksheet in the same workbook, and on that worksheet, in Column A2,A3,4,5, etc... automatically populate each cell in that column with the names of all the other sheets in the workbook....and a bonus would be to have each cell LINK to that other sheet. Can this be done?

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    In the workbook's Workbook_Open event you can use this code to list the sheet names in A2 going downward:
    Please Login or Register  to view this content.

+ 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