BTW

To solve this in a more simple manner. Is it not much simpler just to
write a macro that automatically selects the read only button if the
spreadsheet is open allready. If possible what would a macro/procedure
like that look like?