Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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" wrote in message ...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting data from multiple excel files. helphelp Excel Discussion (Misc queries) 2 May 10th 06 09:45 PM
Extracting cell data from numerous files in multiple folders???? JoeJoe Excel Worksheet Functions 5 March 23rd 06 03:10 AM
Macros to Organize the Data from multiple files to one file TEAM[_3_] Excel Programming 1 July 19th 05 09:25 PM
Extract Data From Multiple Excel Files - One File Michael via OfficeKB.com Excel Programming 3 June 20th 05 08:24 PM
How do I pull data from multiple files and copy into one file JT Excel Programming 2 May 3rd 05 07:42 PM


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"