BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RB1Kenobi
Quartz | Level 8

I wrote code to produce PDF reports (Ent. Guide 5.1, SAS 9.3) which works fine.  However as I am frequently asked for the same report in excel I would like the same proc print/proc report to simultaneously output to Excel (multiple destination ODS).   I attempted to introduce tagset.Excelxp steps within the existing code however I get "ERROR: Absolute layout is supported only for ODS PRINTER".    

Is what I'm attempting possible to achieve?


Example attached, ODS tagset statements are commented out.

(I realise that the tagsets-Excel method omits the charts from my example)


Thank

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

If you are using ODS LAYOUT within your code, then the error message is telling you the problem. Not all destinatins support ODS LAYOUT. You might need to have 2 separate steps for each destination.

cynthia

View solution in original post

2 REPLIES 2
Cynthia_sas
SAS Super FREQ

If you are using ODS LAYOUT within your code, then the error message is telling you the problem. Not all destinatins support ODS LAYOUT. You might need to have 2 separate steps for each destination.

cynthia

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 2 replies
  • 1077 views
  • 0 likes
  • 2 in conversation