Scott Bass
2006-11-11 04:23:20 UTC
Hi,
I did search the archives before posting, and found a zillion hits for
exporting SAS to Excel, but few for importing Excel into SAS (and no hits
using Excel XML files).
Problem: Customer has a number of Excel spreadsheets that need to get
imported into SAS datasets. The structure of these spreadsheets can
change often. I'm hoping to minimize the impact of these structural
changes on the import program (such as column order). Assume row 1
contains column names. Finally, SAS data tier is on Unix.
I was hoping XML might help address this issue (somewhat). So, does
anyone have an example of saving an Excel spreadsheet as XML, then a SAS
program to import that XML into a SAS dataset? Sample code greatly
appreciated if you have some.
Alan???
Thanks,
Scott
I did search the archives before posting, and found a zillion hits for
exporting SAS to Excel, but few for importing Excel into SAS (and no hits
using Excel XML files).
Problem: Customer has a number of Excel spreadsheets that need to get
imported into SAS datasets. The structure of these spreadsheets can
change often. I'm hoping to minimize the impact of these structural
changes on the import program (such as column order). Assume row 1
contains column names. Finally, SAS data tier is on Unix.
I was hoping XML might help address this issue (somewhat). So, does
anyone have an example of saving an Excel spreadsheet as XML, then a SAS
program to import that XML into a SAS dataset? Sample code greatly
appreciated if you have some.
Alan???
Thanks,
Scott