The SAS Output Delivery System and reporting techniques

Writing from SAS into Specific Excel cells

Reply
Occasional Contributor
Posts: 10

Writing from SAS into Specific Excel cells

Hi people,

I have this issue on how you write certain dervied values from SAS Datasets into specific cells in an Excel sheet.

Could you kindly help out using a basic example of trying to write a final figures of 150, 200 and 250 into cells D6, D7 and D8

Thanks
SAS Super FREQ
Posts: 8,745

Re: Writing from SAS into Specific Excel cells

Hi:
I believe you have to do this using the SAS Excel LIBNAME engine and named ranges. If you search on Google or on support.sas.com, you should find some examples of using named ranges to write to specific cells.

cynthia
Valued Guide
Posts: 632

Re: Writing from SAS into Specific Excel cells

I am not sure if this is what you are looking for, but there are several papers by LeRoy Bessler that address similar problems using DDE. Consider:
http://www2.sas.com/proceedings/sugi31/022-31.pdf
www.mwsug.org/proceedings/2010/excel_db/MWSUG-2010-166.pdf Message was edited by: ArtC
Ask a Question
Discussion stats
  • 2 replies
  • 170 views
  • 0 likes
  • 3 in conversation