I'd suggest figuring out how to get the data you want in SAS using proc tabulate first. To get your data to Word you can use ODS RTF. To specify only questions of interest you could put the variables in the table list rather than _numeric_. For example: ods rtf file="C:\temp\test.rtf" style=meadow; *I'm not sure this proc tabulate code would actually work; proc tabulate data=dataset; var var_1 var_2; table var_1 var_2, n='Count' sum='Number of ones' mean= 'Percent ones'*f=percent10.2; run; ods rtf close;
... View more