A
AA
I have one worksheet in a workbook Protected, and I save the file that
way.
When I open the file again, the worksheet is no longer protected,
although if I select Tools>Protection, my only choice is "UnProtect
Worksheet...", so it thinks the worksheet is still protected. Maybe
it
is, but access to both locked and unlocked cells is allowed.
Ok, I don't understand this behavior, and I would like to. When the
other person who uses this file opens it, I don't want them using this
block of cells.
So I figured I could work around it by running an AutoOpen macro,
like you can in Word, that would re-Protect that worksheet. Except
that a macro entitled "sub AutoOpen()" doesn't work.
How do I have a macro run automatically when I open an Excel file?
TIA,
Andy
way.
When I open the file again, the worksheet is no longer protected,
although if I select Tools>Protection, my only choice is "UnProtect
Worksheet...", so it thinks the worksheet is still protected. Maybe
it
is, but access to both locked and unlocked cells is allowed.
Ok, I don't understand this behavior, and I would like to. When the
other person who uses this file opens it, I don't want them using this
block of cells.
So I figured I could work around it by running an AutoOpen macro,
like you can in Word, that would re-Protect that worksheet. Except
that a macro entitled "sub AutoOpen()" doesn't work.
How do I have a macro run automatically when I open an Excel file?
TIA,
Andy