Hello
I have an excel file which is password protected for modification. I do know the password however I often prefer to open it as read only, since I need to format tables and columns and use filters, to avoid the risk to save it over by mistake.
However, it could be that sometimes I am on read-only mode but I realise I want to save the changes I just did, and of course I cannot, so I need to close the file, open it again with the password and re-do all the changes. Save. Close again and re open as read only.
I wonder if there is a way to have a macro that I can launch whilst on read-only mode that temporarily disable the read-only mode, save the file, puts back the read only mode (password protected).
I found the below code but it does not save the file back as read-only
Anyone that can help me on this?
thanks everyone
Bookmarks