Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Getting protected cell error message when calculating (F9)

Hi All,

I am running into a strange problem and I was hoping that I could
impose upon your collective brain power to solve it (just a bit of
flattery to loosen you all up).

I have a workbook with several protected worksheets. Within each of
the prtotected worksheets, most (but not all) of the cells are locked.
When I press F9 to calculate, I get an error message "The cell or
chart you are trying to change is protected and therefore read only."
I am a bit confused by this: Should the protection inhibit updating
the display value of a cell by the calculation process, or is the
inhibition only limited to manual changes by the users?

I have tried to prototype this down to a simple case with a formula on
a protected worksheet and changing component values on an unprotected
worksheet, but it worked without any problems. I also added a chart
and circular references to the prototype, but I was still unable to
recreate the problem. Yet it persists on the more complex
spreadsheet.

Has anyone seen this before? Any help would be greatly appreciated.

Thanks,

Ellis
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Getting protected cell error message when calculating (F9)

Hi Ellis;

Sounds like you possibly have some cells getting their
values from other sheets. I'm not for sure but a possible
work around in any event would be to write a macro to
unprotect all the sheets do the calculation and then
Protect them back again.

The protecting part would look like

For each ws in ActiveWorkBook.WorkSheets

Sheets(ws.name).UnProtect
Next

--put your calculate macro here

--and then

For each ws in ActiveWorkBook.WorkSheets

Sheets(ws.name).Protect
Next



-----Original Message-----
Hi All,

I am running into a strange problem and I was hoping that

I could
impose upon your collective brain power to solve it (just

a bit of
flattery to loosen you all up).

I have a workbook with several protected worksheets.

Within each of
the prtotected worksheets, most (but not all) of the

cells are locked.
When I press F9 to calculate, I get an error

message "The cell or
chart you are trying to change is protected and therefore

read only."
I am a bit confused by this: Should the protection

inhibit updating
the display value of a cell by the calculation process,

or is the
inhibition only limited to manual changes by the users?

I have tried to prototype this down to a simple case with

a formula on
a protected worksheet and changing component values on an

unprotected
worksheet, but it worked without any problems. I also

added a chart
and circular references to the prototype, but I was still

unable to
recreate the problem. Yet it persists on the more complex
spreadsheet.

Has anyone seen this before? Any help would be greatly

appreciated.

Thanks,

Ellis
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message In Cell Kearcomm Excel Discussion (Misc queries) 3 March 19th 06 03:31 PM
Error message with protected sheet HRman Excel Discussion (Misc queries) 1 November 28th 05 06:59 PM
Excel error message in protected sheets Rogio Excel Programming 0 October 29th 03 11:24 PM
DV error message with a cell value Soniya Excel Programming 1 September 11th 03 01:38 AM
Cell Protected Error Philip[_3_] Excel Programming 1 August 8th 03 04:46 PM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"