Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a spreadsheet read only and password protected

Status
Not open for further replies.

BajanPOET

Programmer
Jul 12, 2002
194
BB
Is there a way to force an Excel spreadsheet to save as read only but need a password to make it read-write so that only management can change the data in the spreadsheet? All staff should be able to view the spreadsheet but only the director has permission to change anything.

What? Who? ME????
 
Have a look at the Excel.WorkBook.WritePassword property and/or the WriteResPassword named argument of the Excel.WorkBook.SaveAs method.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Yeah I saw it after I posted... :) It's helped me out - thanks.

What? Who? ME????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top