BookmarkSubscribeRSS Feed
patelvivek90
Calcite | Level 5

Hello all-

New to this SAS support community. I've gone about developing a program to generate a few charts and have been trying to send them to an excel file so that I can link the charts to a dashboard generation template. Set of 150+ graphs that pick and choose graphs to create 15 or so decks.

In any case, I am using the "Send to" command to send the charts to excel, however the charts are always stacked on top of one another, which does not allow me to link the range (camera). I've thought of using DDE, however it seems as though the level of coding required would be well beyond my expertise.

Any help would be great!

Thanks,

Vic

4 REPLIES 4
ballardw
Super User

I would be very tempted to look at what your dashboards are creating and see I I could make them in SAS. Skip a middleman so to speak.

patelvivek90
Calcite | Level 5

Unfortunately I am unable to show the data or charts due to it being proprietary in nature. I can give you an idea structurally, however. The graphs are simple graphs generated by SAS enterprise guide 4.3, nothing really to them. I have them contained within a single program, which when run, has an html output showing the graphs in succession. When I select "send to excel," however, they show up stacked on top of one another. There is no numeric data being exported, just charts.

The goal is to have an export where the charts are sent to excel in a manner where they are not overlapping one another, thereupon the cell ranges where they reside can be linked to a main template. I hope that helps give some insight as to what I am trying to accomplish.

Thanks!

Reeza
Super User

You have a couple of options.

1. Generate each chart as a PNG or PDF instead of using excel and then use those in your dashboard. You can control the names so your references are static.

2. Try the ODS MS_OFFICE_2K destination.

If you're not willing to generate fake data and fake graphs then I suggest working with Tech Support rather than the forums.

ChrisHemedinger
Community Manager

If you are using Send to Excel from the results view, then you might actually be looking at SAS Report output, not HTML.  And Send to Excel uses the SAS Add-In for Microsoft Office (also installed on your machine).

If you've got all of that, then you could take this SAS program and create a stored process from it (registering it in the SAS environment so that it be used outside of EG).   And if your eventual goal is a slide deck, you can then run the stored process from within PowerPoint directly.

If you have the SAS Add-In for Microsoft Office, and you want your output to be in an Office doc eventually, driving that from within Office (using its connection to SAS) gives you the most flexibility.

Here's a short video about the latest features in the Add-In:

SAS Tech Talk: SAS Add-In for Microsoft Office - YouTube

Chris

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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!

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
  • 4 replies
  • 933 views
  • 0 likes
  • 4 in conversation