+ Reply to Thread
Results 1 to 3 of 3

Renaming tabs with a macro

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    CO, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Exclamation Renaming tabs with a macro

    Good Morning All,

    I am still new to this forum and I just recently had one of my questions answered and I have stumbled onto another mystery!

    I have used a macro in the past to rename all of my tabs in an excel without having to click and rename all tabs. The macro itself changes the name of the tab from what is typed into a specific cell.

    I am wondering if there is a way to change this macro (that I will post below) to rename a tab to what it is being displayed in the cell rather than what is typed in the cell because it is a formula... The cell I am trying to use in B2 has a formula but displays a date 5-1-2020.

    The reason I want to do this is because I want to basically make this a template so all i have to do is change 1 or 2 things and not have to change 40-50 things every month.

    Macro:

    Please Login or Register  to view this content.
    Currently I am receiving an error because it is trying to pull the formula which is either to long or contains invalid characters.
    Last edited by Darnell86; 04-13-2020 at 03:58 AM.

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

    Re: Renaming tabs with a macro

    Maybe try:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    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
    04-13-2020
    Location
    CO, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    5

    Re: Renaming tabs with a macro

    TMS,

    Thank you so much for your help and your speedy response. This worked perfectly!

    This is very much appreciated.

+ 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 Help renaming Tabs
    By sheppyk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2020, 01:33 PM
  2. [SOLVED] Renaming Worksheet Tabs with Tabs Existing Name + Today's Date
    By longbow007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-26-2016, 09:51 PM
  3. [SOLVED] Renaming All Tabs
    By Matty5894 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2014, 11:44 AM
  4. renaming tabs macro
    By amartino44 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2013, 10:23 AM
  5. Renaming TABS via Macro to match days of the new month
    By BadKornFlake in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-21-2011, 01:10 AM
  6. Renaming tabs
    By R77 in forum Excel General
    Replies: 7
    Last Post: 08-19-2008, 04:26 AM
  7. Renaming Tabs
    By ANDY73 in forum Excel General
    Replies: 5
    Last Post: 07-28-2005, 05:05 AM

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