BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
StefanoC
Fluorite | Level 6

Send to Excel without opening a new Excel instance.
Having changed from EG 7.12 to 7.15 we have encountered a small problem.

In 7.12, when we used the menu option "send to Excel", it used to open the spreadsheets in the same, active instance.
In 7.15 we get new instances of excel everytime we send to excel.

Are there any ways to change this?

/Ste

 

1 ACCEPTED SOLUTION

Accepted Solutions
CaseySmith
SAS Employee

This was an intentional change. Prior to EG 7.12, we always created a new Excel instance for sending data to Excel. Starting in EG 7.12, we started re-using the existing Excel instance, if one was open. However, a problem that resulted from re-using the existing Excel instance was reported...  specifically, if you edit any Excel cell while data is being sent to Excel an error occurs that interrupts the send-to processing. There was not a good solution, so we reverted the behavior in EG 7.13 (and 7.12 HF5) back to always creating a new Excel instance.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

View solution in original post

5 REPLIES 5
Damo
SAS Employee

Hi @StefanoC

 

Are you saying that prior to your upgrade, you were sending information from EG to an opened/active spreadsheet?

Are you sending SAS datasets?

 

I tried with few different versions and it is sending each attempts to a new instance of Excel.

 

Cheers,
Damo

StefanoC
Fluorite | Level 6

Thanks for your reply.

Yes. Unfortunately that is exactly what I mean.
I'm sending a SAS dataset using the sas menu option send to excel

Prior to the upgrade everything worked as wanted by the end users.
I.e the output landed in a new workbook in the same excel instance.

After the upgrade the output ends up in a new instance of excel.

Nothing else has changed.

I only have one computer that still have 7.12 installed.

I have contacted SAS Support, but I would love a quick answer.

/Ste

ChrisHemedinger
Community Manager

As far as I know it always has created a new instance...but it might be controlled partly by Windows shell open settings for Excel.  The difference might also be triggered by whether you have the SAS Add-In for Microsoft Office installed (with same bitness as EG).

 

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

This was an intentional change. Prior to EG 7.12, we always created a new Excel instance for sending data to Excel. Starting in EG 7.12, we started re-using the existing Excel instance, if one was open. However, a problem that resulted from re-using the existing Excel instance was reported...  specifically, if you edit any Excel cell while data is being sent to Excel an error occurs that interrupts the send-to processing. There was not a good solution, so we reverted the behavior in EG 7.13 (and 7.12 HF5) back to always creating a new Excel instance.

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

StefanoC
Fluorite | Level 6

Thank you for explaining it all.
That matches exactly the behavior we have with current and prior versions.
/Ste

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
  • 5 replies
  • 1300 views
  • 5 likes
  • 4 in conversation