is it possible to have 2 (or more) reports side-by-side using excelxp tagset?
say i have 2 reports both are (theoretically) 8x8 cells.
can i have 1 report upper left in A1 and the second report upper left in J1?
Hi:
Generally speaking, it is easier to get side-by-side tables using RTF or PDF. The program below shows using COLUMNS=2 with ODS PDF. Sadly, the PDF and RTF destinations are the only ones that support COLUMNS=. If you had the SAS Add-in for Microsoft Office, you could run a stored process and control the starting column/row for Excel ouput in a popup window, which theoretically would let you put one report starting in A1, and another report starting in J1. However, with regular TAGSETS.EXCELXP, the tables would appear underneath each other in one table or on two separate sheets.
cynthia
ods pdf file='c:\temp\twocolumns.pdf' columns=2;
proc print data=sashelp.class(obs=5);
where sex = 'M';
run;
proc print data=sashelp.class(obs=5);
where sex = 'F';
run;
ods _all_ close;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.