Hello, is there a way to automatically generate a pre-formatted XLSX? The reason is that I need to set a timer to generate a XLSX. Proc export is not useful because it is stripping the formatting; setting up a libref (libname ... xlsx) also seems to be a data-dump only. Now, ODS has formatting, but I need to manually download the XLSX. Is there some way to automate the downloading? Thanks!
ods Excel file="&SASFolder.&FirstReport"
style=Journal
options(sheet_name="Data" frozen_headers="1");
proc print data=FirstReport noobs; run;
ods Excel close;
You can use the Copy Files task for this and automate in your flow. Here -- I have a video tutorial (11 minutes within this much larger tutorial) that shows how to do this.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.