+ Reply to Thread
Results 1 to 4 of 4

Changing Selected Tab Names Based On Cell Value

  1. #1
    Registered User
    Join Date
    10-24-2017
    Location
    London
    MS-Off Ver
    2007, 2016 and 2019 Professional
    Posts
    11

    Post Changing Selected Tab Names Based On Cell Value

    Hi All,

    I have a workbook with 24 sheets. Of the 24 sheets 12 need to have the tab names changed to reflect the month showing in cell B1.

    The code I have been trying to adapt is below. The line which throws up an error is highlighted in red. Also, there appears to be missing code needed to insert the new name into the tab and taken from cell B1 on each sheet.

    Any help or pointers would be appreciated.

    Thanks in advance.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Changing Selected Tab Names Based On Cell Value

    That line of code is not doing anything.

    Possibly something like:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-24-2017
    Location
    London
    MS-Off Ver
    2007, 2016 and 2019 Professional
    Posts
    11

    Re: Changing Selected Tab Names Based On Cell Value

    Thanks for trying but I've just tried it and there is still an error being thrown up, unfortunately.
    Last edited by Togora; 08-23-2019 at 05:14 PM. Reason: Spelling error, sorry.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,214

    Re: Changing Selected Tab Names Based On Cell Value

    ! Code in post 2 does work...What error is it throwing...I am assuming that one of your sheet names in array are incorrect...

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. [SOLVED] Changing Worksheet names based on cell value with VBA
    By cody.starr in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-17-2019, 01:59 PM
  2. Changing options based on selected value from a drop down
    By Celine_P in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-31-2014, 11:38 AM
  3. Changing Sheet Names based on cell value - Object doesnt support this property error
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-26-2013, 09:30 AM
  4. How to randomize names based upon a selected list.
    By Joah in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 11:44 PM
  5. Changing cell value based on selected row
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2013, 01:11 AM
  6. Changing Sheet Names based on a Cell Reference
    By tjloggia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 04:35 PM
  7. Changing Sheet Names Based on # Values in Names
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2010, 03:34 PM

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