Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting everyone to read ony Lorne Excel Discussion (Misc queries) 3 November 27th 06 11:11 PM
Setting read only permissions NATE Excel Discussion (Misc queries) 1 March 22nd 06 08:58 PM
How do i remove READ ONLY setting on a file? Andrea Excel Discussion (Misc queries) 1 March 14th 06 12:57 PM
VBA read/write registry setting nelson Excel Programming 2 August 22nd 03 07:08 AM
VBA read/write registry setting nelson Excel Programming 0 August 22nd 03 05:41 AM


All times are GMT +1. The time now is 04:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"