+ Reply to Thread
Results 1 to 7 of 7

TAB Naming

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    4

    TAB Naming

    How TAB names be created automatically by reference to words in the spreadsheet?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    33,809

    Re: TAB Naming

    Sheets("Sheet1").Name = Sheets("Sheet1").Range("A1").Value


    Change sheet and range to suit.


    Regards, TMS
    Last edited by TMS; 09-12-2012 at 12:11 PM. Reason: Add missing quote
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-11-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: TAB Naming

    Thanks TMS, but unfortunately I don't know how to use the information you've provided. Is the any explanation.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    33,809

    Re: TAB Naming

    You would have to create a short macro containing an edited version of that line of code. Or a variation on it.

    If you can be more specific about what you want to happen, I can perhaps offer a generic solution.


    Regards, TMS

  5. #5
    Registered User
    Join Date
    09-11-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: TAB Naming

    Let's say that in cell A1 I have the word "Corporate" and I want the TAB name to be "Corporate".

    Thanks again.

  6. #6
    Registered User
    Join Date
    09-11-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: TAB Naming

    I got this to work, but it's not quite what I wanted. I tried to re-write it using ActiveSheet, but I couldn't get it to work. Should I be able to use "ActiveSheet"?

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    33,809

    Re: TAB Naming

    Works for me:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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