You don't explain how the pictures are loaded or
identified, which is pretty vague.
If there are say four pictures to choose from. pic1 ...
pic4 I would expect each to have a value set against
whatever picture they have loaded. So for example Pic1
may have the value 123 and Pic2 the value 354
When a picture is loaded for the "game" it too will have
a number - and it should be one of those in Pic1 to Pic4
When the macro is run, the vale of the picture selected
should be compared to the pic showed and then a message
can be displayed.
You need to think more about how you show the pictures
and save the numbers
Patrick Molloy
Microsoft Excel MVP
-----Original Message-----
part of our course is to design a kids toy ut its the
interfaces which
are important....we have to reproduce our interfaces in
Excel... The
toy is for 4-5 yr olds....its a simple matching game...a
picture poops
up and the child/user has to clic on the macro which has
that
picture....if they get it right they get a worksheet
saying well done
or something if they get it rong another worksheet cums
up saying they
got it rong....
i knw how to do an if function using sheets and value
but neva dun one
for macros...
is that more clear?
---
Message posted from http://www.ExcelForum.com/
.