Download from SAP too big

L

Les Stout

Hi all, i do not know if this is possible, but here goes.... i have a
csv file from SAP which is very big +/- 10 mb !! When i open this file
with excel i lose information. Is it possible with code to automatically
paste the rest to another workbook od sheet ?

Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
 
Q

quartz

Someone else may offer a better solution, but the only ways I have found to
deal with this issue are:

1. Use ADO to import the file into a recordset, then use ADO's page size
method to write the data into as many sheets as are needed.

OR

2. Depending upon the data contained in your CSV, you may need to rewrite it
into a new CSV and surround all the fields with double quotes (many times
CSVs are not properly constructed in this manner - and Access often
translates datatypes wrong). If you need to do this, it really runs pretty
fast if you use sequential access (i.e. Open...For Append). Then upload the
CSV file into an Access table. From there, query summarized data back into
Excel.

Hope this helps.
 
J

Jim Cone

Les,

Couple of ways from MS...
http://support.microsoft.com/?kbid=119770
"Text Import Wizard..." (check the xl97 section)

http://support.microsoft.com/?kbid=120596
"Importing Text Files Larger..."

Regards,
Jim Cone
San Francisco, USA

Hi all, i do not know if this is possible, but here goes.... i have a
csv file from SAP which is very big +/- 10 mb !! When i open this file
with excel i lose information. Is it possible with code to automatically
paste the rest to another workbook od sheet ?

Les Stout
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top