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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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