I have loaded several pictures in a worksheet "Pictures"
The pictures are inserted in the worksheet by simple copy paste.
On a userform, I am trying to load the picture by using this code
<code>
Private Sub UserForm_Initialize()
Image2.Picture = Worksheets("Pictures").OLEObjects("Picture 1").Object.Picture
End Sub
</code>
It is not loading and giving error.
Please help on how could I do it.
The pictures are inserted in the worksheet by simple copy paste.
On a userform, I am trying to load the picture by using this code
<code>
Private Sub UserForm_Initialize()
Image2.Picture = Worksheets("Pictures").OLEObjects("Picture 1").Object.Picture
End Sub
</code>
It is not loading and giving error.
Please help on how could I do it.