BookmarkSubscribeRSS Feed
RickZ
Calcite | Level 5


I am trying to create a spreadsheet with graphics from SAS graph and Several tables.  I understand that the ExcelXP tagset does not support importing graphics.  Is ther another way to create both tables and graphics in the same Excel file?

2 REPLIES 2
esjackso
Quartz | Level 8

You can write an Excel Macro (in VBA or through the recorder) that does the graphic import for you which you could call from within your SAS program.

I dont have a specific example of this to provide, but I would create the sas graphics files, create the macro off the created graphic files, then go back and add the macro call to your sas program.

Alternatively would be to output the data to the excel file and use Excel to do the graphing. This wont help if the data structure changes a lot though.

EJ

Reeza
Super User

ExcelXP doesn't do native Excel files anyways. If you're okay with that, you can also try the MS_OFFICE or HTML ODS Tagsets.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1142 views
  • 0 likes
  • 3 in conversation