Help using Base SAS procedures

Export w/ Appending

Reply
Occasional Contributor
Posts: 19

Export w/ Appending

Say I have an excel file called direct.xls location c:\MyDocs\ and I have a sas dataset called allfile.  Both have the same variables and allfile is not too large for excel.  I want to export the sas dataset allfile into my existing direct.xls sheet1.  How can I do this with proc append? 

Thanks in advance. 

PROC Star
Posts: 7,363

Export w/ Appending

You can do it using the excel engine in a libref assignment.  Example code for doing exactly what you want is described in the following paper: http://www2.sas.com/proceedings/sugi31/024-31.pdf

Occasional Contributor
Posts: 19

Export w/ Appending

Wow, that was fast.  Thanks it worked first try for me that is a first.  Thanks again.

Ask a Question
Discussion stats
  • 2 replies
  • 1279 views
  • 0 likes
  • 2 in conversation