how to protect formulas in a cell

E

Enrique Mahecha

Hi everyone.


You have cell where values are entered, but it has a formula in it. How
can I protect the formula and still let the user enter data in it?

Or

How do I RESET the table to its orginal state. Say all cells should be
set to "o" or "empty" and everything, formulas, formatting for the
entire table goes back to when first opened.

Please see Pic in attachement (having problems with my server uploading
the file). Pls let me know if get to see the pic, I am learning...

TIA

Enrique


+-------------------------------------------------------------------+
|Filename: Excel cells in magenta.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=4145 |
+-------------------------------------------------------------------+
 
J

Jim Rech

How can I protect the formula and still let the user enter data in it?

How can I eat my cake and have it too? You can't. For your second question
I'd suggest you have a pure copy of your input area are hidden off somewhere
and copy it on top of the real input area via macro when needed.

--
Jim
"Enrique Mahecha"
message |
| Hi everyone.
|
|
| You have cell where values are entered, but it has a formula in it. How
| can I protect the formula and still let the user enter data in it?
|
| Or
|
| How do I RESET the table to its orginal state. Say all cells should be
| set to "o" or "empty" and everything, formulas, formatting for the
| entire table goes back to when first opened.
|
| Please see Pic in attachement (having problems with my server uploading
| the file). Pls let me know if get to see the pic, I am learning...
|
| TIA
|
| Enrique
|
|
| +-------------------------------------------------------------------+
||Filename: Excel cells in magenta.jpg |
||Download: http://www.excelforum.com/attachment.php?postid=4145 |
| +-------------------------------------------------------------------+
|
| --
| Enrique Mahecha
| ------------------------------------------------------------------------
| Enrique Mahecha's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=10276
| View this thread: http://www.excelforum.com/showthread.php?threadid=495619
|
 
E

Enrique Mahecha

:)

In all honesty, I thought there was kind of secret way to proctect th
formula in a cell and use it at the same time...

Anyway, your suggestion seems to fit the bill. I'll start tinkerin
with it.


Thanks


E
 
D

Dave Peterson

How about using a couple of helper cells?

Use A3 for the formula
Use B3 for the user input
Use C3 to determine which should be used:

=if(b3="",a3,b3)
 
E

Enrique Mahecha

Actually I did not have time to try your suggestion, cause as the othe
guys suggested, making a pure copy of the table and simply pasting i
on the "working table" with a macro, actually works pretty well. BUT,
will try it later as soon as I learn a little more. I am just too gree
right now, but I am learning...


Thank you.

Enrique
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top