R
Robert Crandal
I am using the Cells object to set the "locked" property of
my spreadsheet. The line looks like this:
Cells.locked = True ' or can be False
I feel real uncomfortable using that code by itself. Shouldn't
I pre-qualify the Cells object with another object such as
"ThisWorkbook" or something?? I just want to ensure that
this code runs on the workbook it was intended for and not
another active workbook.
Thank you!
my spreadsheet. The line looks like this:
Cells.locked = True ' or can be False
I feel real uncomfortable using that code by itself. Shouldn't
I pre-qualify the Cells object with another object such as
"ThisWorkbook" or something?? I just want to ensure that
this code runs on the workbook it was intended for and not
another active workbook.
Thank you!