P
Peter Bernadyne
Hello,
I have a macro which operates on a worksheet that I have protected.
There are some ranges in the worksheet which I have both locked an
hidden and there are others for which only the formulas are hidden (bu
the cells are not locked).
My macro needs to work on some cells (enter formulas, etc.) where
wish to hide the formulas the macro enters. These ranges I hav
designated as hidden but not locked.
The problem is, whenever I run my macro (which autofills for a give
universe), I only have an accurate calculation for the first row o
formulas entered in these hidden (but not locked) ranges. Thus, whe
the autofill is called, it is as though the autofill is working wit
values and not formulas (all the rows' results are identical to th
first one's).
Is this what hiding the formulas is supposed to do? Is there anyway t
work around this so that my macro can accurately perform calcluation
with autofills? If not, could someone tell me what code I should us
to habitually unprotect the sheet (with password = ...) and the
reprotect, please?
Thanks for any help any one can give.
-Pete
I have a macro which operates on a worksheet that I have protected.
There are some ranges in the worksheet which I have both locked an
hidden and there are others for which only the formulas are hidden (bu
the cells are not locked).
My macro needs to work on some cells (enter formulas, etc.) where
wish to hide the formulas the macro enters. These ranges I hav
designated as hidden but not locked.
The problem is, whenever I run my macro (which autofills for a give
universe), I only have an accurate calculation for the first row o
formulas entered in these hidden (but not locked) ranges. Thus, whe
the autofill is called, it is as though the autofill is working wit
values and not formulas (all the rows' results are identical to th
first one's).
Is this what hiding the formulas is supposed to do? Is there anyway t
work around this so that my macro can accurately perform calcluation
with autofills? If not, could someone tell me what code I should us
to habitually unprotect the sheet (with password = ...) and the
reprotect, please?
Thanks for any help any one can give.
-Pete