LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Import

The easiest way.. is to MERGE the CSV files FIRST, then open the MERGED file in Excel.

Let's suppose you have 3 files saved in a folder

Like:
Jimsproducts.csv
Joesproducts.csv
Bobsproducts.csv

You saved them in a folder, like C:\SavedAttachments

You can run a command like this using the DOS prompt.

Click START, click RUN, type CMD

This will give you a black screen of DOS.

Now type copy c:\SavedAttachments\*.csv c:\SavedAttachments\Merged\Mergedproducts.csv

This COMBINES all 3 of the files together.. than saves the COMBINED file into one called, Mergedproducts.csv

I also added another FOLDER called, MERGED.. because you can't run the command (copy) in the same folder.. because the Mergedproducts.csv FILE is created when you run the command, so it is ALSO merged into itself...

So.. you use the COPY command.. you use *.csv (The ASTERISKS then a PERIOD, then CSV).. the ASTERISKS means.. ALL FILES, that end with CSV.

You probably have the answer for this by now..

-sapphire

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
 
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
office 2007 opening multiple files in error Jim Excel Discussion (Misc queries) 0 October 23rd 07 05:16 PM
import excel 2007 in outlook 2007 patrick Excel Discussion (Misc queries) 2 October 9th 07 05:13 AM
Excel 2007 Data Import from txt files deblmd Excel Discussion (Misc queries) 0 February 21st 07 05:33 PM
Import multiple text files (Macro) Thr33of4 Excel Discussion (Misc queries) 0 September 19th 06 02:19 AM
Import multiple text files into a single worksheet Scott Excel Discussion (Misc queries) 0 January 13th 05 10:22 PM


All times are GMT +1. The time now is 08:14 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"