ItIsHardToProgram
Technical User
Hello every one,
Maybe I am not approaching this currectly, and I believe that you will all tell me that a Userform is the best way to do this, but I still want to do it in a worksheet (yes yes I am very stubborn).
My problem is quite simple, and will take about .5 seconds to think of an answer and 2 seconds to write it down.
I have this function that is suppose to hide or not a specific image that was inserted in the worksheet. What I want to do and I seem unable to do it is to change the image, so basicaly chaning the link, for example:
Image1.path = ("C:/windows/bureau/image1.gif")
I want the same shape (same object basicaly) to become
("C:/windows/bureau/image2.gif")
so in that case the image switches, is that possible in a worksheet, or am I approaching this from the wrong angle?
Thank you very much for your help, it is always appreciated.
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.
Maybe I am not approaching this currectly, and I believe that you will all tell me that a Userform is the best way to do this, but I still want to do it in a worksheet (yes yes I am very stubborn).
My problem is quite simple, and will take about .5 seconds to think of an answer and 2 seconds to write it down.
I have this function that is suppose to hide or not a specific image that was inserted in the worksheet. What I want to do and I seem unable to do it is to change the image, so basicaly chaning the link, for example:
Image1.path = ("C:/windows/bureau/image1.gif")
I want the same shape (same object basicaly) to become
("C:/windows/bureau/image2.gif")
so in that case the image switches, is that possible in a worksheet, or am I approaching this from the wrong angle?
Thank you very much for your help, it is always appreciated.
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.