The SAS Output Delivery System and reporting techniques

proc report layout

Reply
Occasional Contributor
Posts: 16

proc report layout

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?


SAS Super FREQ
Posts: 8,868

Re: proc report layout

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;

Ask a Question
Discussion stats
  • 1 reply
  • 779 views
  • 0 likes
  • 2 in conversation