Hi, I have been trying to read some excel data into the SAS stored processes. I use SAS Add-in for microsoft office. The problem here is, the data is read into SAS but when I input some text into excel i multiple lines using Alt+Enter, the data is still read and stored in a single line. (When I read the data in EG /output this back to excel, I get those two lines concatenated as a sinle line). Example: Excel cell value contains text in multiple lines (entered using Alt+Enter): This is line one of my text Here is line two. This value is stored as This is line one of my text Here is line two. Note : My text does not have a particular pattern. I am calling the stored process from VBA. Below are the configurations in my stored process. Input data type : XML Data Source Expected content type: text/xml. I use the below code in stored process to read and save the excel cell as dataset. libname myexcelrange xml;
data mylib.dummy;
set myexcelrange.excel_table;
run; Please help me in storing and retrieving this data in multiple lines.
... View more