syntax of changing file attributes

M

M K W

Hello,
I set the attributes of an Excel file to Read-only, what is the VBA syntax
to remove that attribute, save the workbook and re-set it to Read-only
again. I tried

ActiveWorkbook.ReadOnlyRecommended = True

either this is not the correct syntax, or I am not using it in the correct
way.

any help would be highly appreciated
 
Top