LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
al al is offline
external usenet poster
 
Posts: 363
Default Protected Formula Error

This is a repost from last year that drew no response, and Im still looking
for a solution.

Im using Excel 2003 and I have a worksheet set up for user data entry in
which all formula cells are normally locked and the worksheet password
protected to guard against the user overwriting them. When the workbook is
opened a macro sets the password for UserInterFaceOnly, since there is
another macro that changes formatting of the formula cells based on data
entry events. There are only two formulas used repeatedly with changes in
relative references. This all works as expected, but now I have a problem
when I want to modify the formulas.

I unprotect the worksheet, and if I try to edit or overwrite a formula I get
a dialog box that says Cell contains protected formula. I can delete the
formula but I cant edit it. If I delete it, I cant make a new entry, but I
can copy and paste anything into the cell. If I copy and paste the formula
to another cell, I still cant edit that. But if I copy it from the formula
bar and then paste it to any cell other than one of the formula cells, I can
edit it. Then I can copy and paste the edited cell back to the original
location and its still editable. However, if I do a formula bar copy and
paste back to the original location, any edits are retained, but I cant do
any further editing.

What could I have set that would cause this?

--
Al C
 
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
Protected formula error. Al Excel Discussion (Misc queries) 0 October 15th 07 06:39 PM
1004 Cell Protected Error for data validation lists when locked and protected [email protected] Excel Programming 2 November 7th 06 10:07 AM
Protected VB code - Run-time error AvalancheMike Excel Programming 1 October 13th 06 02:25 AM
Error 91 but only when sheet is protected Limey1971 Excel Programming 2 January 22nd 04 10:27 AM
Cell Protected Error Philip[_3_] Excel Programming 1 August 8th 03 04:46 PM


All times are GMT +1. The time now is 08:55 AM.

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"