Bypass macros in Read only

L

Lawlera

Is there some code that will bypass/disable certain macros if the file is opened with read only status

Thanks in anticipation,
 
H

Harald Staff

I don't think so, but you could put this in the beginning of the macros in
question:

If ThisWorkbook.ReadOnly Then Exit Sub
 
Top