View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Rech[_2_] Jim Rech[_2_] is offline
external usenet poster
 
Posts: 533
Default Converting Large XML Files into CSV File via Excel

I am not real familar with Excel or any scripting language

That's the rub. Any improvements in your process would probably involve
coding. You might have to get help.

But forgetting Excel, have you searched for utilities that convert XML to
text? That's an avenue I might pursue.

--
Jim
"DaleB" wrote in message
...
| Hi:
| I have a large XML file (a few hundered MB in size) that I need to import
| into Excel and save as a .csv file. Smaller files (< 5 MB) work fine, but
as
| you approach this limit, you have to break the original XML file into
smaller
| files, and work on them on at a time. For my current XML file, this would
be
| broken down into easily 50 sub XML files. The problems are file size,
| memory size, and Excel limits. Do you know of any way that this can be
done
| other than the "manual grunt method" that I described about ? Any way of
| automating a script ? I am not real familar with Excel or any scripting
| language like awk, sed, or Perl, so your detailed feedback would be
| deeplyappreciated. Thank you...!!!
|
|
| Update:
| So far, I have been able to import an XMLfile ~36 MB in size into Excel.
| It just takes time (how long ? I do not know: I let it run overnight).
| WARNING: If you try to get a feel how things are going, a dialog box
| will state that the application is not responding,...but...if you look at
| the processes (via Ctrl-Alt-Del) you will see that Excel is still
crunching
| on the amount of memory that it is using.
|
| DaleB
|
| Large XML file -- many small XML files -- many small .csv files.
| (CSV = comma separated values).