+ Reply to Thread
Results 1 to 2 of 2

Thread: Export into existing Excel sheet

  1. #1
    Points: 91, Level: 1
    Level completed: 82%, Points required for next Level: 9

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Export into existing Excel sheet



    Dear All,

    I want to export the data from SAS dataset to existing excel file, it is possible or not.
    I am tring to do that since last 3/4 days with the help of goggle search also but not able to do that. Request you to please assit Or can i replace the data from csv file to particular excel sheet through unix.

    Thanks in advance.

  2. #2
    Points: 2,169, Level: 28
    Level completed: 13%, Points required for next Level: 131

    Location
    Chicago, IL
    Posts
    106
    Thanks
    1
    Thanked 19 Times in 15 Posts

    Re: Export into existing Excel sheet


    It is possible to export data to an existing workbook as a new sheet.

    This should do the trick, though I would test it on a workbook you don't mind losing first.

    [] denote where you need to fill in info.

    Code: 
    libname xls [file path to excel workbook];
    data xls.[new sheet name];
    set [data];
    run; libname xls clear;

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats