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

  • Thread starter Thread starter Jon
  • Start date Start date
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.
 
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?
 
Back
Top