|
#1
|
|||
|
|||
Convert to read-only file
Greetings friends of the forum, I would like to know if it is possible that with vba code you can make a Word file become read-only format from that date indicated in the code, that is, you can not write or do anything just I can read.
I appreciate your collaboration in advance |
#2
|
||||
|
||||
Anything one might do in that regard suffers from the same limitations as 'expiring' a file as per your other posts. In essence, you'd have to set the file's modification password - plus you'll have to deal with the issue that anyone who can access the VBA project will be able to see the password needed to unlock the document. Check out the Document.SaveAs2 Method in Word's VBA help file.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thank you, is very useful
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recover missing files --- ost file convert to pst file | Loretta | Outlook | 0 | 07-22-2019 11:35 PM |
Read text in a file | Firemaster | Word VBA | 3 | 11-28-2018 04:18 AM |
Macro to convert table to convert table into iCalendar file? | Weboh | Word VBA | 5 | 12-10-2016 03:07 PM |
Read only file | NienkeG | Word | 2 | 08-03-2014 03:57 PM |
How to convert a text file to an Excel file with the data format automatically? | mradmin | Excel | 6 | 10-16-2013 10:34 AM |