Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Counting checkbox values

Hi-

Can anyone assist me with a quick script on checkbox values? I have
userform1 with 7 checkboxes. I want to set a control for the following:

if more than one checkbox.value for checkboxes 1-7 = true then
msgbox("Please select one and only one checkbox.")
exit sub.
end if

I thank you kindly!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Counting checkbox values

Hi VB Newbie,

Why not use Option buttons, which have this functionality?

---
Regards,
Norman



"VB Newbie" wrote in message
...
Hi-

Can anyone assist me with a quick script on checkbox values? I have
userform1 with 7 checkboxes. I want to set a control for the following:

if more than one checkbox.value for checkboxes 1-7 = true then
msgbox("Please select one and only one checkbox.")
exit sub.
end if

I thank you kindly!!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Counting checkbox values

I think I will do that. I thank you, sir!

"Norman Jones" wrote:

Hi VB Newbie,

Why not use Option buttons, which have this functionality?

---
Regards,
Norman



"VB Newbie" wrote in message
...
Hi-

Can anyone assist me with a quick script on checkbox values? I have
userform1 with 7 checkboxes. I want to set a control for the following:

if more than one checkbox.value for checkboxes 1-7 = true then
msgbox("Please select one and only one checkbox.")
exit sub.
end if

I thank you kindly!!!




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
Counting cells that have a checkbox that is marked Inquiry Excel Worksheet Functions 1 April 24th 09 09:06 PM
Checkbox values? T135 Excel Worksheet Functions 2 January 12th 07 10:46 AM
Importing Checkbox Values Marty Excel Programming 4 June 28th 04 07:05 PM
CheckBox values Allan[_4_] Excel Programming 1 December 22nd 03 05:02 PM
Checkbox values from a web client Larry[_10_] Excel Programming 1 September 11th 03 06:45 PM


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