Thank you for providing this! I have never used macros before as I have never earned this, but I tried following the detailed instructions and using google for a couple things. Where in my sas code should I place it? I received this error below. Also, I am unsure if you could help me with this, but I saw in my google search that some people use an .xlsx file for outdoc so I created a file and included the filepath and name in the outdoc statement. I am unsure if this was the right thing to do. 328 %tablen(data=IAT2018, by=D_biep_White_Good_all, - 180 ERROR 180-322: Statement is not valid or it is used out of proper order. 329 var=Age raceomb_002 birthSex edu politicalid_7 occupation_selfdetail_001, 330 type=1 2, pvals=5, 331 contdisplay=m sd, outdoc=\Users\tjoseph6\Documents\IAT2018.xlsx); 332 run;
... View more