Hi,

I have a program that lets the user choose from four options. The user can choose more than one and can choose all of them if he/she wants to, but must choose at least one. Out of the choices chosen, the program picks a random one and executes it. I know that one could use the Rnd function, but I would like to know an easier way. If anyone knows how, please tell me.

Thanks.

set default if none option chosen.

set default if none option chosen.

What do you mean?

ups.. sorry i didn't read the post carefully.
what i mean before is if none option chosen set to default chose option. sorry friend

No problem, and thanks once again!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.