Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default conditional prevention of check mark in a cell

Hello,

I have a worksheet that has two cells in which I can double click to either add
or remove a check mark. This code is working. I now want to add code in which if
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 with
it and searching solutions online. But, this one seems to be avoiding me. Thanks
for any help you can give.

Will
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 157
Default conditional prevention of check mark in a cell

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


--
Ian
--

"mrwill" wrote in message
...
Hello,

I have a worksheet that has two cells in which I can double click to
either add
or remove a check mark. This code is working. I now want to add code in
which if
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
with
it and searching solutions online. But, this one seems to be avoiding me.
Thanks
for any help you can give.

Will



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
Check Mark in a cell Wally Excel Worksheet Functions 1 January 19th 09 01:50 AM
How can I add active tick mark/check mark boxes in excel? gerberelli Excel Discussion (Misc queries) 2 May 3rd 08 05:16 PM
Cannot check the check mark box in cell ac Excel Worksheet Functions 1 February 15th 08 10:24 PM
Click on a cell to get a check mark then... ToferKing Excel Programming 6 July 18th 07 03:58 AM
How do you replace a yes value in a cell with a check mark? Flo Excel Discussion (Misc queries) 0 June 26th 07 01:02 AM


All times are GMT +1. The time now is 04:29 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"