Need advice w/checkboxes

Tjer101105

New Member
Joined
Dec 23, 2005
Messages
1
Hi, this is my first post, I tried to find what I was looking for, but... no luck

I am trying to create a random generator, with specifications, the display allows you to choose different things which affect the randomly generated outcome.

I have composed a list of over 3,000 male names and 4,000+ female names, they are each on their own worksheets, labeled 'Male Names' and 'Female Names'

I got the generator to randomly select the names based on the choice of checking a box next to male or female, or leaving either blank or checking both. It works! I was excited about that...

But now I am stuck... I have multiple choices for narrowing down the possible age range to generate a random age from. I'd like to use radio buttons to do it, but I already have another area I need radio buttons for and I can't seem to get them to stay seperate, they all want to be connected together.

The way I've got it set up is using 'form' radio buttons to link to cells in the sheets and having the vb code reference the cells rather than the radio buttons, if there's an easier way to reference the results of the radio buttons, say, from the 'control' toolbar, I would love it.

Also how can I make two sets of radio buttons?

I'd just like some advice if possible, thank you very much!!
Jer
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
hello,Tjer101105
Welcome to the Board !!!!!

let's start with
Also how can I make two sets of radio buttons?
try this
create a frame (Forms-toolbar)
put "linked" option buttons in the frame
for each group you need another frame

in case you change your mind
if you would use option buttons from the Controls toolbar
hold shift and select several option buttons
set the Groupname property to the same name


kind regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,214,575
Messages
6,120,334
Members
448,956
Latest member
Adamsxl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top