Clear Check Boxes Without VBA

Vampyre

New Member
Joined
Mar 23, 2011
Messages
30
Hi, I have an autoshape , that im using as a button to clear the rest of my form. i want to use this to also clear 2 clusters of check boxes.

Im not very hot on vba and would really like to do it using a macro, any ideas ??

as simple as possible please

Cheers
 
do you mean check boxes? hmmm

i set my clear box, just to clear by recording a general macro in excel , nothing fancy.
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Yes, I meant checkboxes.
Unless I can see the code you have, I cannot even attempt to fix it.
 
Upvote 0
hi the only code associated with the clear button is the one you supplied.

do you want the other bits of code im using ?
 
Upvote 0
So you click the Clear button and it pops up a message? If so, what is the exact message text?
 
Upvote 0
Put the cursor somewhere in that code in the VB Editor and press f8 repeatedly until the error appears and then tell me what is highlighted. I do not see any way that the code I posted can produce that message, so something else must be running in response. Do you have any macros attached to the checkboxes?
 
Upvote 0
Hiya

no nothing attached to the check boxes.

when i put cursor in vb editor just highlights areas on my other code , nothing on the clearing code
 
Upvote 0
What line does it highlight in the other code - it is clearly being called somehow!
 
Upvote 0
Hiya

it highlights each piece as it goes down.

heres and example

"If Range("d15").Value = False Then
Cancel = True
MsgBox "Please Add Name Of Requester "
End If"

do you think this code is causing the problem?
 
Upvote 0
Which line is actually highlighted when the error message appears (a line with Specialcells in it perchance?)
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,749
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top