changing pictures according to cell value
Hi,
I tried out your code and it at first didn't work. Then I realised that
I needed to have the formula =A1 in D8. Before doing that the Calculate
Event was not being triggered when pressing Enter after typing a
Picture's name into D8. So now it works well when I type a Picture's
name into A1.
I don't know of any limit to the number of pictures. How many pictures
are you using on the sheet?
Also, you haven't mentioned any error messages, so it's simply stopped
working.
It might be that the Calculate Event is not being triggered. To check
that just add the line...
MsgBox ""
to the code.
If the code is being triggered the message box with an OK button will
appear (provided you didn't place the MsgBox "" line inside a
conditional statement such as If)
Ken Johnson
|