FabienF
New member
- Jul 5, 2017
- 19
Hello,
I am trying to display an image on a userform depending on the choice of a combo box and the code below works fine:
picturename = "S:blablablabalabalab\blabla\" & name & ".jpg"
Userform.Image.Picture = LoadPicture(picturename)
However, I would like to avoid referring to the location S:blablablabalabalab\blablaInstead I would like to retrieve the image from an Excel worksheet itself (that I would hide afterwards).
In fact, the macro I am implementing will be used by several users on different computers, thus creating potential errors if they don't have access to that specific location (S:blablablabalabalab\blabla\)
Is there any way to that? call the images from the images from the worksheet itself?
Thanking you for your help in advance.
I am trying to display an image on a userform depending on the choice of a combo box and the code below works fine:
picturename = "S:blablablabalabalab\blabla\" & name & ".jpg"
Userform.Image.Picture = LoadPicture(picturename)
However, I would like to avoid referring to the location S:blablablabalabalab\blablaInstead I would like to retrieve the image from an Excel worksheet itself (that I would hide afterwards).
In fact, the macro I am implementing will be used by several users on different computers, thus creating potential errors if they don't have access to that specific location (S:blablablabalabalab\blabla\)
Is there any way to that? call the images from the images from the worksheet itself?
Thanking you for your help in advance.