+ Reply to Thread
Results 1 to 4 of 4

Rename Multiple worksheet based on what is contained in one cell in that sheet.

  1. #1
    Registered User
    Join Date
    01-06-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Rename Multiple worksheet based on what is contained in one cell in that sheet.

    Hi,

    I want to rename each worksheet, there could be a varying amounts of worksheets per workbook (from between 3-26), based on what is in cell G2 of that worksheet.

    Please help

    Thanks in advance!

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Rename Multiple worksheet based on what is contained in one cell in that sheet.

    Try using...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-06-2011
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Rename Multiple worksheet based on what is contained in one cell in that sheet.

    Brilliant, Thank you kindly Dangleor, much appreciated.

  4. #4
    Registered User
    Join Date
    03-16-2013
    Location
    NY
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Rename Multiple worksheet based on what is contained in one cell in that sheet.

    I know this is an old thread, but this is exactly what I'm trying to do except my info is is cell A2.
    I changed G2 to A2 but I keep getting:

    runtime error '1004'
    Appication-defined or object-defined error

    When I hit debug the following line is highlighted:
    .Item(x).Name = .Item(x).Range("A2").Value2

    What am I doing wrong?

    I have many tabs in the worksheet and A2 of each tab is a different value for each tab.

    Any help is appreciated

+ 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