BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I am currently trying to export graphs from SAS to Excel by using tagsets.msoffice2k however, every time I export these graphs (line graphs), at the end of the graph, tables appear which indicates the data used. Is there a way to suppress these tables.
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
When you use the ODS MSOFFICE2K tagset template to create output, you are creating an HTML file that Microsoft Office knows how to open and render. The ACTIVEX and ACTXIMG (or JAVA and JAVAXIMG) devices (what is specified in the GOPTIONS DEVICE= option) work within HTML in a special way when the ACCESSIBLE GOPTION is also used.

With the ACCESSIBLE GOPTION turned on, a TABLE is put underneath the graph that provides the datapoints for screen reading software to read for the visually impaired person who is accessing a particular graphical report. Usually, the table is hidden on an HTML page until the screen reading software detects the table and reads it. However, it sounds like Excel does not render the output in the same way that the browser renders the output.

So, you need to remove the ACCESSIBLE graphic option from your code. Or, if you are using SAS Enterprise Guide, you might find reference to the
%GACCESSIBLE; macro call (which issues the appropriate GOPTIONS statement). You would want to remove this statement, too.

cynthia

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 625 views
  • 0 likes
  • 2 in conversation