BookmarkSubscribeRSS Feed
ja_lew
Fluorite | Level 6

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?


1 REPLY 1
Cynthia_sas
SAS Super FREQ

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;

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1359 views
  • 0 likes
  • 2 in conversation