+ Reply to Thread
Results 1 to 2 of 2

copy data from 1 worksheet to a new one

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    copy data from 1 worksheet to a new one

    Hi,

    On the attached spread sheet. Id like to be able to extract all accounts based on their mandate onto a new worksheet named the mandate. I also need the row headings to be copied over as well.

    In the attached example accounts that have a discretionary mandate have been copied over. Note this sheet normally has about 5,000 lines.

    JamesBook1.xlsx

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: copy data from 1 worksheet to a new one

    'SHEET1 TO MANY SHEETS
    Here's a macro for parsing rows of data from one sheet to many sheets named for the same values in a specific column.

    It not only can parse the rows, it can create the sheets if they are missing. There is a sample sheet there where you can test this out.


    You would only need edit the parts marked in red to indicate the master sheet name and which column is to be used, vCol = 9 for column I in this case.
    Last edited by JBeaucaire; 12-27-2019 at 05:09 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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