BookmarkSubscribeRSS Feed
Iramesh
Calcite | Level 5

How to get the "Share Workbook" feature while creating multi sheet work book from SAS by using Execlxp tagset?

4 REPLIES 4
data_null__
Jade | Level 19

I believe that only XLSX, as in "real" EXCEL files can be Shared.  You would need to save the XML workbook created by EXCELXP tagset as XLSX and then switch on sharing.  Depending on your OS that could be automated from within the same JOB that creates the XML.

Iramesh
Calcite | Level 5

Hi,

    Can u give an example which helps me to understand easily.

Regards

Ramesh

data_null__
Jade | Level 19

In this thread is my example of how to save XLS as XLSX.  You will need to figure out what command to add to make the workbook shared.  I would but I no longer have PC/SAS.

https://communities.sas.com/message/124238#124238

ScottBass
Rhodochrosite | Level 12

See for an example Powershell script that will save an ODS Excel tagsets file as XLSX.

You'll need to Google for the Excel automation command that turns on Sharing, so you can add that to the script.


Please post your question as a self-contained data step in the form of "have" (source) and "want" (desired results).
I won't contribute to your post if I can't cut-and-paste your syntactically correct code into SAS.

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