Counting checkbox values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!!!
 
Hi VB Newbie,

Why not use Option buttons, which have this functionality?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top