I want to append this excel worksheets using macro. Please Help
Multiple sheets into one sheet
Sounds like an Excel forum question not SAS.
SAS would likely require creating a single data set and then exporting that set.
Many users here don't want to download Excel files because of virus potential, others have such things blocked by security software or organization policy. Also if you give us Excel we have to create a SAS data set and due to the non-existent constraints on Excel data cells the result we end up with may not have variables of the same type (numeric or character) and even values.
Hello @Daily1
Your possible solutions are here
https://support.sas.com/resources/papers/proceedings/proceedings/sugi30/040-30.pdf
https://www.pharmasug.org/proceedings/2011/CC/PharmaSUG-2011-CC10.pdf
Define a libname:
libname book1 xlsx "path_to_file/book1.xlsx";
Then SET all datasets:
data all;
set
order
return
people
;
run;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.