+ Reply to Thread
Results 1 to 2 of 2

Extracting data from 1 file to multiple files

  1. #1
    Brian C
    Guest

    Extracting data from 1 file to multiple files

    I have a large data file and need to create smaller Excel files using VB.
    The data file includes sales information by product for all clients, and the
    new files will include all the same data, but specific to each client.

    Client id is in column A. The values in this column must be used (1)
    idenify all clients included in the file, (2) find the rows for each client,
    and (3) create a new file that only includes the rows that were found. The
    name of each new file will be SALES{client id}.xls.

    For Example:
    If the value in client id = 'ABC', extract data to the file named SALES_ABC;
    If the value in client id = 'DEF', extract data to the file named SALES_DEF;
    etc.


  2. #2
    Ron de Bruin
    Guest

    Re: Extracting data from 1 file to multiple files

    Hi Brian

    See
    http://www.rondebruin.nl/copy5.htm

    Test this one
    http://www.rondebruin.nl/copy5.htm#workbook


    --
    Regards Ron De Bruin
    http://www.rondebruin.nl



    "Brian C" <BrianC@discussions.microsoft.com> wrote in message news:8AB683B0-CEE3-4867-87B3-D267A70D2385@microsoft.com...
    >I have a large data file and need to create smaller Excel files using VB.
    > The data file includes sales information by product for all clients, and the
    > new files will include all the same data, but specific to each client.
    >
    > Client id is in column A. The values in this column must be used (1)
    > idenify all clients included in the file, (2) find the rows for each client,
    > and (3) create a new file that only includes the rows that were found. The
    > name of each new file will be SALES{client id}.xls.
    >
    > For Example:
    > If the value in client id = 'ABC', extract data to the file named SALES_ABC;
    > If the value in client id = 'DEF', extract data to the file named SALES_DEF;
    > etc.
    >




+ 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