Hello,
I have a macro code that shows an error message in the log window. Please let me know how to fix it.
PROC EXPORT DATA=underlyspecify&year.
outfile="Underly_Con_&bdate..xlsx"
dbms=xlsx replace;
sheet=&year.;
run;
The sheet name should be quoted as follows
sheet="&year.";
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.