Hi Kurt, Thank you for taking out the time to address my SAS problem. Basically what I am trying is 1) copy the one excel with pivot to SAS temp using below, data _null_; length filein 8 fileid 8; filein = fopen('in','I',1,'B'); fileid = fopen('out','O',1,'B'); rec = '20'x; do while(fread(filein)=0); rc = fget(filein,rec,1); rc = fput(fileid, rec); rc =fwrite(fileid); end; rc = fclose(filein); rc = fclose(fileid); run; 2) Now I want to updated another raw data sheet in the above excel with pivot so that when user opens the excel pivot gets auto refreshed with new raw data For this I was wondering if I can export sas dataset to this excel. Best, Vikas
... View more