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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1216 views
  • 0 likes
  • 3 in conversation