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

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 711 views
  • 0 likes
  • 2 in conversation