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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top