I have some SAS code that writes out to a sheet in an Excel workbook. Currently I'm just using proc export dbms=excelcs but can also use libname with pcfiles if neccesary. Is it possible for SAS to save the workbook with a different name after it's finished writing out to the sheet it updates?sas
I'm opening an existing workbook, writing out a new sheet, and then I want to save the workbook with a different name. Basically the workbook is a template, so I want to open the template, write out the new data and then save it so it reflects the data in there. This way I can run my code multiple times and end up with multiple workbooks populated instead of having to put a new template workbook in the folder each time. With proc export is it possible to specify a workbook to open and then specify a different one to save as?
SAS is running on 64-bit linux and I have Excel 2010. I'm not sure if we X command but I do know we have SAS/ACCESS Interface to PC Files and have the PCFILES Server set up.
Thanks a lot for your help!
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.