Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Board
 
Posts: n/a
Default How do I restrict only 1 of 2 check boxes be checked?

I have 2 check boxes in an excel worksheet, and I would like to restrict it
so only one can be check at a time. So, if 1 on them is checked, and you try
to check the other one, a warning will pop up to stop you.
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You could use code to restrict this, however what you should use are the
option buttons, they were made for this


Regards,

Peo Sjoblom


"Board" wrote:

I have 2 check boxes in an excel worksheet, and I would like to restrict it
so only one can be check at a time. So, if 1 on them is checked, and you try
to check the other one, a warning will pop up to stop you.

  #3   Report Post  
Jason
 
Posts: n/a
Default

By code, do you mean I would have to write the code. Is there any type of
validation I could use?

"Peo Sjoblom" wrote:

You could use code to restrict this, however what you should use are the
option buttons, they were made for this


Regards,

Peo Sjoblom


"Board" wrote:

I have 2 check boxes in an excel worksheet, and I would like to restrict it
so only one can be check at a time. So, if 1 on them is checked, and you try
to check the other one, a warning will pop up to stop you.

  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Yes, yoiu have write the code or have someone write it for you, not by using
datavalidation


Regards,

Peo Sjoblom

"Jason" wrote:

By code, do you mean I would have to write the code. Is there any type of
validation I could use?

"Peo Sjoblom" wrote:

You could use code to restrict this, however what you should use are the
option buttons, they were made for this


Regards,

Peo Sjoblom


"Board" wrote:

I have 2 check boxes in an excel worksheet, and I would like to restrict it
so only one can be check at a time. So, if 1 on them is checked, and you try
to check the other one, a warning will pop up to stop 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
Check Boxes Christine C. Excel Worksheet Functions 1 May 11th 05 01:17 AM
count check boxes Tony Excel Worksheet Functions 3 April 8th 05 03:48 AM
Protection of check boxes in excel 2002 Newbeetle Excel Discussion (Misc queries) 2 March 14th 05 12:59 PM
How to align check boxes on an Excel sheet? CC Excel Worksheet Functions 2 February 16th 05 03:27 PM
Adding Check Boxes Mike R Excel Discussion (Misc queries) 2 February 13th 05 03:59 AM


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

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"