PC Review


Reply
Thread Tools Rate Thread

Check box logic question

 
 
Ailsa02
Guest
Posts: n/a
 
      15th Aug 2008
How do I create a series of check boxes that when you check the second box,
the first box will automatically uncheck?
 
Reply With Quote
 
 
 
 
Gary Brown
Guest
Posts: n/a
 
      15th Aug 2008
Private Sub CheckBox1_Change()
If CheckBox1 = True Then
CheckBox2 = False
End If
End Sub

Private Sub CheckBox2_Change()
If CheckBox2 = True Then
CheckBox1 = False
End If
End Sub

--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Ailsa02" wrote:

> How do I create a series of check boxes that when you check the second box,
> the first box will automatically uncheck?

 
Reply With Quote
 
Ailsa02
Guest
Posts: n/a
 
      15th Aug 2008
Gary,

You are soooo the man! Thank you! That worked perfectly!

Ailsa

"Gary Brown" wrote:

> Private Sub CheckBox1_Change()
> If CheckBox1 = True Then
> CheckBox2 = False
> End If
> End Sub
>
> Private Sub CheckBox2_Change()
> If CheckBox2 = True Then
> CheckBox1 = False
> End If
> End Sub
>
> --
> Hope this helps.
> Thanks in advance for your feedback.
> Gary Brown
>
>
> "Ailsa02" wrote:
>
> > How do I create a series of check boxes that when you check the second box,
> > the first box will automatically uncheck?

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      15th Aug 2008
Use option buttons. This is their normal behavior.

--
Biff
Microsoft Excel MVP


"Ailsa02" <(E-Mail Removed)> wrote in message
news:AF3C0970-DFE4-4DCD-BCFF-(E-Mail Removed)...
> How do I create a series of check boxes that when you check the second
> box,
> the first box will automatically uncheck?



 
Reply With Quote
 
ggraves1968
Guest
Posts: n/a
 
      23rd Aug 2008
I have a group of check boxes that if you click on one I want to increase a
series of discounts offered and when you uncheck it reverts back to the
original data. The trick is that I have 10 choices that I want to increase
or decrease based on the accumulation of boxes checked and if none are
checked it goes back to my original data.

Any ideas?
--
Ggraves


"Gary Brown" wrote:

> Private Sub CheckBox1_Change()
> If CheckBox1 = True Then
> CheckBox2 = False
> End If
> End Sub
>
> Private Sub CheckBox2_Change()
> If CheckBox2 = True Then
> CheckBox1 = False
> End If
> End Sub
>
> --
> Hope this helps.
> Thanks in advance for your feedback.
> Gary Brown
>
>
> "Ailsa02" wrote:
>
> > How do I create a series of check boxes that when you check the second box,
> > the first box will automatically uncheck?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
logic check jdrott1 Microsoft VB .NET 3 29th Feb 2008 10:13 PM
A Logic Question =?Utf-8?B?Um9iZXJ0?= Microsoft Access 2 17th Aug 2005 11:46 PM
Logic to check a range for an existing sequence? Ray Microsoft Excel Worksheet Functions 4 1st Apr 2004 08:57 PM
logic check please - not getting results wanted from IF D. Shane Fowlkes Microsoft ASP .NET 3 10th Dec 2003 02:47 PM
Logic Question Str8goofE Microsoft Excel Misc 3 15th Jul 2003 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:44 PM.