DATA Step, Macro, Functions and more

export SAS formatted tables and SAS graphs to excel file

Reply
Frequent Contributor
Posts: 97

export SAS formatted tables and SAS graphs to excel file

Hello

I need to export  SAS  formatted tables and   SAS   graphs to excel file (multiple sheets).

I need to export for example a table and a chart to same sheet .

What is best way to do it?

ODS  excel or ODS TAGSETS.EXCELXP   or another method?

My friend told me that she didn't succeed to export the charts by using ODS TAGSETS.EXCELXP.  Is it true?

 

thanks

Ronein

 

Super User
Posts: 23,343

Re: export SAS formatted tables and SAS graphs to excel file


@Ronein wrote:

 

My friend told me that she didn't succeed to export the charts by using ODS TAGSETS.EXCELXP.  Is it true?

 

 

 


Yes, ODS TAGSETS.EXCELXP does not support graphics - it generates an XML file and XML does not support graphics.

 

ODS EXCEL works fine. 

https://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/

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