Interfacing with Excel
Posted: Fri Aug 07, 2009 11:10 am
by JADE News Administrator >> Wed, 28 Oct 1998 22:15:07 GMT
Hi
I have a requirement to be able to load up Excel within my JADE application and pass on the command line the name of a CSV (ASCII text) file. It then should be able to fire up Excel and take the CSV file and split the fields up into separate columns in a new worksheet.
With my preliminary investigations I can easily call up Excel within JADE (using the shell32 external library function described in other postings) and pass a CSV file-name on the command line ---- and it loads up the CSV file into a new worksheet --- but puts all the content into column:1.
I need to get it to automatically perform what the import wizard does and split the fields up into columns?
I guess I need to look into ODBC etc but is there an easier solution ?
Ciao .................
Alan J.Thomson
ph...Auckland
http://home.clear.net.nz/pages/athomson
Hi
I have a requirement to be able to load up Excel within my JADE application and pass on the command line the name of a CSV (ASCII text) file. It then should be able to fire up Excel and take the CSV file and split the fields up into separate columns in a new worksheet.
With my preliminary investigations I can easily call up Excel within JADE (using the shell32 external library function described in other postings) and pass a CSV file-name on the command line ---- and it loads up the CSV file into a new worksheet --- but puts all the content into column:1.
I need to get it to automatically perform what the import wizard does and split the fields up into columns?
I guess I need to look into ODBC etc but is there an easier solution ?
Ciao .................
Alan J.Thomson
ph...Auckland
http://home.clear.net.nz/pages/athomson