VBA Probably a simple solution??!! Please help
Posted on 2003-11-13
I am reasonably new to VB and as a project i am trying to create a game of pairs! So far i have randomly generated 16 images on a form. Each image is covered by a CommandButton. When the button is clicked .visible = false and so the picture is revealed!
Now i am stuck! i don't know the code which I need to check to see if the two visible images on the screen are the same.
Just to confirm what i need, something like this
userform.visible.images = same then....!! (i know the syntax to the left is incorrect but i wanted to demo how i wanted to go about it)
Does anyone have any idea's?? Please