A very basic question, but I cannot seem to be able to do it.
I have some code that checks the name of an .xls and brings up a msgbox if the file is the master spreadsheet. I also want it to become readonly if it is the master spreadsheet. The only thing i could think of is:
thisWorkBook.readonly = true
but i assume that the readonly property in this instance is in itself readonly and cannot be set. Is there a way to make a workbook readonly in code?
Thnaks,
Nick
I have some code that checks the name of an .xls and brings up a msgbox if the file is the master spreadsheet. I also want it to become readonly if it is the master spreadsheet. The only thing i could think of is:
thisWorkBook.readonly = true
but i assume that the readonly property in this instance is in itself readonly and cannot be set. Is there a way to make a workbook readonly in code?
Thnaks,
Nick