+ Reply to Thread
Results 1 to 6 of 6

Specific sheet to be copied, based on values, along with cells

  1. #1
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Specific sheet to be copied, based on values, along with cells

    Hi everyone. With the help of AlphaFrog, this macro works well to create new sheets based on values from a table, and then it names the tab that same value along with cell B4. I like this macro because no matter how many more rows I add to the table, it works well.

    But how can I tweak it so that now other cells on the table also copy to each new tab. See attached. (ID, department, revenue goal, and actual revenue should be copy)

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,608

    Re: Specific sheet to be copied, based on values, along with cells

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Re: Specific sheet to be copied, based on values, along with cells

    Thank you protonLeah!
    Is there a way to use that same macro, but let's say only create the sheets that have value "A" in column C. So for example, only run to create the sheets if the department is "A"

    I hope is not too difficult.

  4. #4
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Re: Specific sheet to be copied, based on values, along with cells

    Here is an attachment. I added to the table more departments with the value "A"
    Thank you everyone.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,608

    Re: Specific sheet to be copied, based on values, along with cells

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-26-2019
    Location
    Florida
    MS-Off Ver
    Professional Plus 2016
    Posts
    54

    Re: Specific sheet to be copied, based on values, along with cells

    Thank you protonLeah! You are the best!

+ 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] Specific sheet to be copied, based on values
    By therealaccountant in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2021, 11:56 AM
  2. [SOLVED] need rows on sheet two copied and inserted into sheet one after a specific text
    By C21THOMAS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2021, 09:04 AM
  3. Replies: 1
    Last Post: 10-10-2018, 12:49 PM
  4. Replies: 13
    Last Post: 05-02-2016, 06:03 AM
  5. Replies: 6
    Last Post: 05-14-2014, 04:56 PM
  6. HELP! Macro to Copy specific cells from one sheet to another based on specific criteria
    By atriscritti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2012, 11:05 AM
  7. Replies: 3
    Last Post: 03-28-2011, 10:53 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