Hello!
I am doing export sas data to excel through proc export.
My code looks like:
proc export data=table1 outfile=&path. label dbms xlsx replace; putnames=yes; sheet='Sheet1' %run
But when I am getting data to excel all columns are randomly autofitted.
Does anybody know, can I add something in the code to get excel column width being having default value(64)?
THX!
Understood. Perhaps Ods Excel is the only solution. Thank you 🙂
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.