P
Philipp Schramek
Dear all
I used following code
Image3.Picture = LoadPicture("TempVB.gif")
in a UserForm-Object. It worked withoug the pathname, since the file was
in the path of where the excel file is saved.
Now I programmed something similar like:
UserForm1.Image3.Picture = LoadPicture("TempVB.gif")
in a Worksheet.
In this case it does not work without the pathname.
Does anyone know why and if so does anyone know what I can do about it
because I want this programm to be flexible enough to find the picture
file in whichever folder the excel file and the picture file are saved.
Thanks
Philipp
I used following code
Image3.Picture = LoadPicture("TempVB.gif")
in a UserForm-Object. It worked withoug the pathname, since the file was
in the path of where the excel file is saved.
Now I programmed something similar like:
UserForm1.Image3.Picture = LoadPicture("TempVB.gif")
in a Worksheet.
In this case it does not work without the pathname.
Does anyone know why and if so does anyone know what I can do about it
because I want this programm to be flexible enough to find the picture
file in whichever folder the excel file and the picture file are saved.
Thanks
Philipp