#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default check box

Can two check box's be linked so if one is checked, the other will not be? I need them to toggle back and forth between "repair and replace"
Thank You
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default check box

Hi Rusty,

Why not use option buttons which should do what you want?

---
Regards,
Norman



"Rusty" wrote in message
...
Can two check box's be linked so if one is checked, the other will not be? I
need them to toggle back and forth between "repair and replace"
Thank You


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default check box

I'm trying to copy a bank form. So I can make changes and print. I want to
print out with the checks mark's.
I don't even need a name for the check box, it will be in the top row
"repair replace"


"Norman Jones" wrote in message
...
Hi Rusty,

Why not use option buttons which should do what you want?

---
Regards,
Norman



"Rusty" wrote in message
...
Can two check box's be linked so if one is checked, the other will not be?

I
need them to toggle back and forth between "repair and replace"
Thank You




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default check box

Hi Rusty,

One way:

With two Control Toolbox checkboxes, in the worksheet's code module paste
the following:


Private Sub CheckBox1_Click()
CheckBox2.Value = Not (CheckBox1.Value)
End Sub

Private Sub CheckBox2_Click()
CheckBox1.Value = Not (CheckBox2.Value)
End Sub


---
Regards,
Norman



"Rusty" wrote in message
...
I'm trying to copy a bank form. So I can make changes and print. I want to
print out with the checks mark's.
I don't even need a name for the check box, it will be in the top row
"repair replace"


"Norman Jones" wrote in message
...
Hi Rusty,

Why not use option buttons which should do what you want?

---
Regards,
Norman



"Rusty" wrote in message
...
Can two check box's be linked so if one is checked, the other will not
be?

I
need them to toggle back and forth between "repair and replace"
Thank You






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default check box

Can this be done all at once or do I have to do it 2 box's at a time.In
other words I have repair and replace on top, and 2 check box's in each row
down to about 50 or so.



"Norman Jones" wrote in message
...
Hi Rusty,

One way:

With two Control Toolbox checkboxes, in the worksheet's code module paste
the following:


Private Sub CheckBox1_Click()
CheckBox2.Value = Not (CheckBox1.Value)
End Sub

Private Sub CheckBox2_Click()
CheckBox1.Value = Not (CheckBox2.Value)
End Sub


---
Regards,
Norman



"Rusty" wrote in message
...
I'm trying to copy a bank form. So I can make changes and print. I want

to
print out with the checks mark's.
I don't even need a name for the check box, it will be in the top row
"repair replace"


"Norman Jones" wrote in message
...
Hi Rusty,

Why not use option buttons which should do what you want?

---
Regards,
Norman



"Rusty" wrote in message
...
Can two check box's be linked so if one is checked, the other will not
be?

I
need them to toggle back and forth between "repair and replace"
Thank You










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default check box

Hi Rusty,

You need to set the mutually dependent relationship for each pair of
checkboxes. So, whilst you can reduce the wokload by a sensible naming
strategy and by using the first pair of subs as a template for the
subsequent pairs, your typing fingers are still going to be busy.

---
Regards,
Norman



"Rusty" wrote in message
...
Can this be done all at once or do I have to do it 2 box's at a time.In
other words I have repair and replace on top, and 2 check box's in each
row
down to about 50 or so.



"Norman Jones" wrote in message
...
Hi Rusty,

One way:

With two Control Toolbox checkboxes, in the worksheet's code module
paste
the following:


Private Sub CheckBox1_Click()
CheckBox2.Value = Not (CheckBox1.Value)
End Sub

Private Sub CheckBox2_Click()
CheckBox1.Value = Not (CheckBox2.Value)
End Sub


---
Regards,
Norman



"Rusty" wrote in message
...
I'm trying to copy a bank form. So I can make changes and print. I want

to
print out with the checks mark's.
I don't even need a name for the check box, it will be in the top row
"repair replace"


"Norman Jones" wrote in message
...
Hi Rusty,

Why not use option buttons which should do what you want?

---
Regards,
Norman



"Rusty" wrote in message
...
Can two check box's be linked so if one is checked, the other will not
be?
I
need them to toggle back and forth between "repair and replace"
Thank You










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
make a check form, and then have info go to a check register richie g Excel Worksheet Functions 0 May 5th 10 12:10 AM
Copy and move check box (check boxes) with new cell link? Marty Excel Worksheet Functions 1 January 20th 10 07:43 PM
Increase size of a Forms Check Box (click on to enter check mark) 718Satoshi Excel Discussion (Misc queries) 0 August 17th 07 01:52 AM
Check if Conditional Format is True or False / Check cell Color Kevin McCartney Excel Worksheet Functions 5 June 29th 07 11:12 AM
Enable check box in protected sheet + group check boxes Dexxterr Excel Discussion (Misc queries) 4 August 2nd 06 12:00 PM


All times are GMT +1. The time now is 10:11 PM.

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"