+ Reply to Thread
Results 1 to 7 of 7

How to Rename Multiple sheets using right function based on a cell

  1. #1
    Registered User
    Join Date
    02-13-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    4

    Arrow How to Rename Multiple sheets using right function based on a cell

    Hi,

    I am currently working on a macro in regards with the renaming of the sheets.

    I am having a problem with the renaming of multiple sheets based on a cell. The code that I am using does not rename all the sheets based on the Range "B1".

    Below is my code:

    Please Login or Register  to view this content.
    for example :

    In Range A1 there is a name "Kaname (10036660)"
    Then on Range B1 Right function will be used to get the "10036660"

    The parentheses should not be included.

    Could you please help me because its been 5 days already and I can't seem to solve it.
    Last edited by alansidman; 10-09-2013 at 01:06 PM. Reason: added code tags

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to Rename Multiple sheets using right function based on a cell

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-13-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to Rename Multiple sheets using right function based on a cell

    Thank you John.. but unfortunately it is not working...

    How can it rename the multiple sheets based on B1?

    thanks in advance

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to Rename Multiple sheets using right function based on a cell

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: How to Rename Multiple sheets using right function based on a cell

    choleb:

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (I have added them for you this time. Please read our rules and follow them in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    02-13-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to Rename Multiple sheets using right function based on a cell

    Thank you so much John...
    it's really working! Very much appreciated..

  7. #7
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: How to Rename Multiple sheets using right function based on a cell

    You're welcome. Glad to help out and thanks for the feedback. Please comply with Forum Rule No. 9.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes.

+ 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 Rename sheets based on cell value
    By boll55 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-19-2013, 02:13 PM
  2. Create and rename multiple sheets based on pivot-table field
    By Aerobane in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-10-2013, 02:22 AM
  3. [SOLVED] Rename Multiple worksheet based on what is contained in one cell in that sheet.
    By pjmc84 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-16-2013, 11:20 AM
  4. macro to copy a range of worksheets based on cell entry and rename specific sheets
    By Lbischoff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2012, 12:13 PM
  5. Rename cell based on file name for multiple files
    By lmolokin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2012, 05:49 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