+ Reply to Thread
Results 1 to 3 of 3

Renaming excel sheet

  1. #1
    Registered User
    Join Date
    10-03-2016
    Location
    gurgaon
    MS-Off Ver
    2010
    Posts
    42

    Renaming excel sheet

    Hi People,
    I hope you are doing great. Posting another query on which I am working on. I want to rename excel sheet using VBA. I've close to 400 sheets in a workbook. My ask is following -

    In the VBA code, provide the existing name and the new name of the excel sheet to be renamed. For example -
    Sheet 1 to be renamed as AP001
    Sheet 2 to be renamed as AP005
    Sheet 3 to be renamed as AP006

    Can you guys help me with a code where I can provide the above input and run a code to rename the sheet.

    Thanking you in advance.

    Best
    Varun

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Renaming excel sheet

    Hi Varun


    What you ask is very easy. Place your table in a sheet called "Index" Starting at A1 then run this macro.

    So A1 = Sheet 1, B1 = AP001

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 11-09-2020 at 01:47 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    10-03-2016
    Location
    gurgaon
    MS-Off Ver
    2010
    Posts
    42

    Re: Renaming excel sheet

    You guys are awesome! Thank you very very much..

+ 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. excel vba renaming a sheet tab with a listbox
    By samdaman91 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2022, 10:35 AM
  2. Replies: 4
    Last Post: 12-11-2013, 04:13 AM
  3. Renaming of sheet name in all excel files of a directory
    By kbkrao in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2013, 01:21 AM
  4. Help With Excel Macro Renaming Row On Sheet
    By gaspower in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-08-2012, 04:45 PM
  5. [SOLVED] Excel loop - Renaming sheet tabs from range
    By pinstripe05 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-08-2012, 11:07 AM
  6. Writing a file’s name (or renaming it ) based on existing excel sheet data
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-30-2012, 08:11 PM
  7. Renaming lots of Excel Sheet
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-13-2012, 05:08 PM
  8. Replies: 4
    Last Post: 03-09-2011, 05:25 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