LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How can I protect cell from user entry but able to alter/clear in

I am working a project where I want to limit the user changes via either a
form or a macro. In other words I do not want the user to be able to alter a
cell's content directly.

I know I could hide the worksheet or columns but the user has to be able to
view their content without directly altering them.

I tried locking the cells and password protecting the worksheet but then
when I attempt to clear the cell content via macro I get an error message.
Is there way to set the cell property for protection or no protection? I have
searched help without much success.

Error message:

Run-time error '1004':
The cell or chart that you are trying to change is protected and
therefore read-only.

To modify a protected cell or chart, first remove protection using the
Unprotect Sheet command (Review tab, Changes group). You may be
prompted for a password

--
Kermit, long time windows Office user
 
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
I Need To Alter My Password In Excel Protect Sheet Dasha Excel Discussion (Misc queries) 2 January 12th 08 11:24 AM
Replace (blank) entry in a pivot report with clear cell PeterGilbert Excel Discussion (Misc queries) 1 November 6th 06 12:13 AM
How do I protect a Work sheet so a user can only alter certain cel joel Excel Worksheet Functions 1 October 3rd 06 05:36 PM
Password protect data entry to cell Brian Excel Programming 5 April 25th 04 10:42 PM
Need way to protect cell after data entry Ken[_9_] Excel Programming 2 July 25th 03 09:24 PM


All times are GMT +1. The time now is 03:07 AM.

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

About Us

"It's about Microsoft Excel"