BookmarkSubscribeRSS Feed
mondaytea
Calcite | Level 5

Hi all,

 

Does anyone know if SAS has the capability to export an excel file that will have the shared option applied to it so that multiple users can open the same excel file and edit it. 

 

I'm using SAS EG 7.12

 

The code I use to export is 

 

 

proc export data = GCR.QA_21days_report_&LAST_FRI_STAMP. dbms=xlsx
outfile = "&output_path_21.\21_DAYS_REPORT_&LAST_FRI_STAMP..xlsx"
replace;
run;

4 REPLIES 4
SASKiwi
PROC Star

Unfortunately not. This is an Excel limitation not a SAS one. Excel is after all a single-user tool. Try opening a spreadsheet that someone else or some other process has open and it automatically switches to read-only. No SAS involved.

mondaytea
Calcite | Level 5

Thanks for your response however it's not an Excel limitation. If you look at my attached screenshot you can see that in Excel can share the file by doing the following steps.

 

Click on Review->Share Workbook->Tick the box next to 'Allow changes by more than one user at the same time. This also allows workbook merging'

Patrick
Opal | Level 21

@mondaytea 

I don't expect SAS to be able to create such a workbook but I would expect that SAS doesn't change the properties on a pre-existing workbook when creating/replacing a sheet in the workbook. BUT... you must be sure that no one has the workbook open when SAS is trying to access it as this will most likely not work.

 

And what I found in the Excel help of my Excel version:

Capture.JPG

 

We've tried co-authoring with Excels in SharePoint. After people have lost their changes more than once we've stopped using this feature.

SASKiwi
PROC Star

Don't see the screenshot but I've found the option in Excel 365. There is no way to set this up from SAS. You would have to set it up manually yourself.

 

I agree with @Patrick that this is unlikely to work reliably with SAS. If you want to have SAS users reliably updating the same tables at the same time use a database designed for transaction processing like SQL Server or Oracle.  

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1351 views
  • 1 like
  • 3 in conversation