conditional prevention of check mark in a cell

M

mrwill

Hello,

I have a worksheet that has two cells in which I can double click to either ad
or remove a check mark. This code is working. I now want to add code in which i
one box is checked, then it doesn't let you put a check mark in the other cell
I am new to VBA and macros. I have learned quite a bit just playing around wit
it and searching solutions online. But, this one seems to be avoiding me. Thank
for any help you can give.

Will
 
I

IanC

Posting your original code will make it easier for someone to offer a
solution, but the suggestion below might help.

Assuming one of your cells is A1 and you're using something like Wingdings
character 252 for the tick:

If Range("A1").Value <> Chr(252) Then
' your existing code here
End if
 

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

Top