Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Check box logic question

How do I create a series of check boxes that when you check the second box,
the first box will automatically uncheck?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default Check box logic question

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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Check box logic question

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?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Check box logic question

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?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Check box logic question

Use option buttons. This is their normal behavior.

--
Biff
Microsoft Excel MVP


"Ailsa02" wrote in message
...
How do I create a series of check boxes that when you check the second
box,
the first box will automatically uncheck?





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
Question to check the conditions and then print the result. Neelakanta New Users to Excel 1 June 18th 08 08:15 AM
IF(?) logic question Dave Excel Discussion (Misc queries) 3 February 10th 07 12:28 PM
Logic formatting question TR Young Excel Discussion (Misc queries) 1 October 8th 06 09:15 PM
Count logic question ACDenver Excel Discussion (Misc queries) 7 August 17th 05 04:28 PM
Logic question ACDenver Excel Discussion (Misc queries) 1 August 16th 05 04:29 AM


All times are GMT +1. The time now is 03:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"