+ Reply to Thread
Results 1 to 4 of 4

VBA Rename 2 sheets from cell values from non-active sheet

  1. #1
    Forum Contributor Webbers's Avatar
    Join Date
    09-06-2005
    Location
    Poinciana, FL
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    337

    Cool VBA Rename 2 sheets from cell values from non-active sheet

    I would like to be able to add a feature to a template I am designing for another user. There are 2 worksheets that I would like to be able to be renamed, both will contain the date in cell I1 on the "Main" tab (sheet2). I1 is a date in the format of mmm dd yyyy. Each of these 2 sheets also requires text also. I would like the macro to be able to work regardless of what the current sheet name actually is... just in case the end user does something manually.


    sheet3: ALL as of I1
    sheet4: METRO as of I1

    For example, cell I1 on Main = Feb 1, 2019

    sheet3: ALL as of Feb 1 2019
    sheet4: METRO as of Feb 1 2019

    I found some dynamic renaming based on the cell value (A1 for example of the same sheet), or VBA with the active sheet. However these are payroll records I am working with, so I cannot modify these tabs to add another row as they will be imported into another system. I need to be able to rename both these sheets from another sheet to make this work.

    Thanks in advance for your help!!!!
    ~*~ Sherry ~*~
    Poinciana, FL

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: VBA Rename 2 sheets from cell values from non-active sheet

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor Webbers's Avatar
    Join Date
    09-06-2005
    Location
    Poinciana, FL
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    337

    Re: VBA Rename 2 sheets from cell values from non-active sheet

    PERFECT!!!!!! That is exactly what I needed Mumps1!!!! tysvm! I greatly appreciate your help on this one! Thanks again!

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: VBA Rename 2 sheets from cell values from non-active sheet

    You are very welcome.

+ 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. Macro to copy the active sheet to new workbook and rename
    By shansakhi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-06-2014, 01:27 AM
  2. Replies: 2
    Last Post: 10-06-2014, 01:03 AM
  3. Rename active sheet based on cell value.
    By Dagoom in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-10-2013, 06:12 PM
  4. Replies: 0
    Last Post: 04-28-2012, 06:06 PM
  5. Copy cell range from active sheet to all remaining sheets
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2011, 04:09 PM
  6. [SOLVED] Rename active sheet with current file name
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-11-2006, 01:35 PM
  7. [SOLVED] Rename active sheet to contents of specific cell
    By burl_rfc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-28-2006, 07:40 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