ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Setting Read Only on save. (https://www.excelbanter.com/excel-programming/278836-setting-read-only-save.html)

Darren Lord

Setting Read Only on save.
 
Hi all,

I want to set the read only attribute to a file automatically on save. Can
anyone help me determine the line that I need to put in the auto_close
macro.

Needs to be done in this macro as I want it to execute everytime that
(multiple) users exit the file.

Cheers, Darren.



Tom Ogilvy

Setting Read Only on save.
 
If the file is to be readonly, then you would not be able to save it. I
doubt you can set the readonly attribute of the file from within the file
itself.

--
Regards,
Tom Ogilvy


"Darren Lord" wrote in message
...
Hi all,

I want to set the read only attribute to a file automatically on save. Can
anyone help me determine the line that I need to put in the auto_close
macro.

Needs to be done in this macro as I want it to execute everytime that
(multiple) users exit the file.

Cheers, Darren.






All times are GMT +1. The time now is 10:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com