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-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
  • 2 replies
  • 945 views
  • 0 likes
  • 2 in conversation