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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1905 views
  • 0 likes
  • 3 in conversation