Displaying a random image (or control) on a userform?

J

Jon

Is it possible to display a random image on a userform when a command
button is clicked?

I'm trying to create a black jack game where a user can click a "Deal"
button on a userform and it will display images of random cards (on the
same form).

I'm still learning VBA, so I don't even know if this can be done.

Any help would be appreciated. Thanks.
 
J

Jon

After some research...maybe I can place all of the card images onto the
userform and hide them, then if their number is drawn, I can set the
visible property back to True? Is that possible?
 

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

Top