+ Reply to Thread
Results 1 to 6 of 6

VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

  1. #1
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    The scenario is I have 15 sheets named "MAP_COMBINED" , "MAP_COMBINED (2)", "MAP_COMBINED (3)", "MAP_COMBINED (4)"...............to , "MAP_COMBINED (15)".


    I am not really good at VBA Coding and I wonder if it is really possible to have a MACRO to simultaneously copy and move them into one worksheet together with a Dialog box/Pop up input box ="NAME" of the new worksheet and rename the (15) sheets based on its cell value on BT3?

    Thank you!
    Last edited by archvanarl; 04-01-2019 at 12:27 AM.

  2. #2
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    Re: VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    Bump for the code. Have a nice day!

  3. #3
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    Re: VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    Hi! Bump for the techies!!:D

  4. #4
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    Re: VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    Bump.. :D for the last one..

  5. #5
    Forum Contributor
    Join Date
    11-25-2018
    Location
    Philippines
    MS-Off Ver
    Ms Office 365
    Posts
    217

    Re: VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    To be beneficial to everyone who might be needing this. This is the code that I have come to work through research.

    Please Login or Register  to view this content.


    Thank you!
    Last edited by archvanarl; 04-08-2019 at 11:36 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,861

    Re: VBA CODE (macro) to move, copy, and rename multiple sheets based on a cell value

    Administrative Note:

    Thank you for posting the solution, however you need to include code tags around your code.

    Please take a moment to add the tags. 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, and it also maintains VBA formatting.

    Click on Edit to open your thread, then 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

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] VBA to copy sheet, move to end and rename to next number in sequence
    By benjhardie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2019, 08:04 PM
  2. Replies: 2
    Last Post: 01-15-2019, 06:35 PM
  3. Create A Copy To A New Sheet & Rename Sheet Based on Cell Value
    By delicard in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-25-2013, 08:56 PM
  4. VBA CODE to move rows from one sheet(1) to another sheet(2) based on data in cell
    By fozzieulo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2013, 02:43 PM
  5. Macro - Copy sheet and rename based on cell value
    By Nick.123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2013, 04:23 AM
  6. [SOLVED] Copy a sheet (from template) to a new sheet, and rename (based on cell value)
    By Siglen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2012, 10:19 AM
  7. Macro to rename sheet based on date in a cell with multiple occurrences.
    By timlocke in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-12-2011, 03:08 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