hi
i have this piece of code in my excel macro.
The problem i'm having is that sometimes depending on the sheet that i'm running the code on it can be "image1.png etc..
how can i modify this line that if it errors out it will select image1.png or image2.png
thanks
i have this piece of code in my excel macro.
Code:
ActiveSheet.Shapes.Range(Array("Picture 2")).Select
The problem i'm having is that sometimes depending on the sheet that i'm running the code on it can be "image1.png etc..
how can i modify this line that if it errors out it will select image1.png or image2.png
thanks