Following my vba practices, I am writing a code to open in a worksheet a picture below the last row with data.
The code reads Range("A2").value and open the image with the same value in StudentPhotos carpet
My code sends the cursor below the last row with data where I need to open the image.
My code opens the image but, as I said, I need VBA displays the image from the empty cell.
This is my code:
On the other hand, in myDir I am trying to use the relative path :
but, VBA displays "Invalid Qualifier Error"
Could I ask another pair of eyes to take a look and offer some advice?
Thank you for taking the time in helping me.
Bookmarks