Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mel
 
Posts: n/a
Default Clearing Check Boxes and Cells

Ok, this is either going to kill me or make me stronger..........

I have successfully combine my "clear" functions into one button now
(clearing text/numbers from cells and clearing checks from
boxes).................

NOW....... NOW.......... my problem is that when I protect the sheet........
the "clear" button that worked perfectly gives a "Run-time error'1004',
Unable to set the Value property of the CheckBoxes class".

If I turn protection back off, the button works perfectly.

I have to be able to protect the sheet so users can only check boxes and
enter text into specific cells..........

Ideas/suggestions??

Thank you!!

  #2   Report Post  
MattVonFat
 
Posts: n/a
Default

I had this same problem when doing my ICT project.

You add:

ActiveSheet.Unprotect <PASSWORD

Before you do the code, and:

ActiveSheet.Protect <PASSWORD, True, True, True

Afterwards.

I hope this helps.

Matthew
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
Clearing Check Boxes and Cells Mel Excel Discussion (Misc queries) 1 May 26th 05 05:13 AM
Using a Macro to clear out check box seletions Mel Excel Worksheet Functions 5 May 20th 05 08:35 PM
Check Boxes Christine C. Excel Worksheet Functions 1 May 11th 05 01:17 AM
Drop Down Boxes for Validation Cells are Too Wide Geoff Excel Discussion (Misc queries) 1 May 10th 05 08:27 PM
Adding Check Boxes Mike R Excel Discussion (Misc queries) 2 February 13th 05 03:59 AM


All times are GMT +1. The time now is 03:52 PM.

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"