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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel VBA write protected

Status
Not open for further replies.

gustaf111

Programmer
Jan 16, 2011
87
SE
Hello again,

I have another problem also ...

I have an excel file that is write protected.

1) I would like to open the file protected and with help of a button be able to save the changed of the contect and with the file still write protected so I can not use the save button within excel.

2) I would like also to change the name of the file with the file still writeprotected.

Please help! Gustaf
 
it is my understanding that if any file is write protected it cannot be updated. If you can you would need to write code that would unprotect, make the changes and then re-protect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top