+ Reply to Thread
Results 1 to 4 of 4

All worksheet names on summary page

  1. #1
    Registered User
    Join Date
    07-26-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2002
    Posts
    8

    All worksheet names on summary page

    Hi everyone,

    I want to put all the worksheet names besides my 'summary' one (which is first) on the 'summary' worksheet starting from cell c1 and then going to d1..e1..f1..etc. The problem is, that I dont know how many worksheets I have and people will be adding and deleting the worksheet tabs.

    I have this code but it populates the names going down a column but i want to go across columns:

    Please Login or Register  to view this content.
    Any help is appreciated!!
    Last edited by arlu1201; 07-26-2012 at 02:59 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: All worksheet names on summary page

    Try this if you're still looking:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: All worksheet names on summary page

    Sachin,

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    07-26-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2002
    Posts
    8

    Re: All worksheet names on summary page

    Thanks!

    Yea i looked at it after and saw that i could just switch the count,1 -- just started using vba for the first time and this website has been helpful in finding random code and just manipulating it.

    I have another question.. Under those "sheet name" columns, each cell has a function that looks like this:

    Please Login or Register  to view this content.
    Now is there any way that I can change that 'Sheet1' to be the exact text in the upper most cell of that column which essentially is the sheet name because of my vba code. I want to do this just in case someone changes the order of the worksheet tabs.

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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