BookmarkSubscribeRSS Feed
angeliquec
Quartz | Level 8

Hi,

Using SAS Base, we are currently producing 100 excel files with two identical sheets. The client would like to request the first sheet to be 'locked' or protected with a password when for editing, and the second sheet not protected (this will serve as their 'working' sheet for pivot tables).

Is this possible with SAS codes or visual basic?

Thank you!

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Whilst the above shows how to do such a thing, I would ask why?  Your exporting data from a Stats package, into numerous Excel files and then someone else if performing some calculations based on that yes.  If so, why not just have a data transfer, i.e. one SAS dataset, and then they can process it in their SAS/DBMS.  If they want reports then produce them.  I would suggest your just opening yourself to problems with a) working with Excel, b) letting someone else fiddle around with your data in an unvalidated/unstrcutured approach.

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