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
Diamond | Level 26

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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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