BookmarkSubscribeRSS Feed
SSin
Obsidian | Level 7

I am using SAS university edition. I am trying to export an output (line graph) from SAS into excel. I downloaded the graph as html file. Then I open it in excel. I can see only text part of the html file but not the graph itself.

I tried saving the file in "excel workbook" type and open it again. This time excel cannot open it at all. 

I attached the html file I am trying to export. 

 

Please help me. Many thanks in advance. 

 

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Please do be clear on what you want.  First off, how are you generating the graph - the original.  Is it via code, if so please present the code you are using, put it in a code window - its the {i} above post area.  

Next please be clear in your understanding of filetypes.  The file extension - the bit after the dot in filenames, indiates the application with which to open that file, and the file content.  You talk about HTML, then that you are opening that with Excel.  Excel is not HTML, Excel has its own file formats, HTML is a webpage markup file.  You then proceed to tell us a HTML file is attached, but in fact the file is a PDF, which again is not HTML.

 

Now in code, the simplest method to get output to Excel - assuming that is the destination you really want - is to use ods excel:

https://support.sas.com/resources/papers/proceedings17/0169-2017.pdf

You simply set the ods options before, after and possibly during the sequence of output routines (so prints, reports, sgplots etc.) and these all get streamed out to the file.

SSin
Obsidian | Level 7

Thank you for the reply. My friend helped me out. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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