V
vicenflor
With a command button in a userform, I want to select a picture and display
it at the left side of this command button. The selection of the picture by
clicking on the commandbutton works fine but I can't get the picture to be
displayed in the image button. Which code should I use? I tried the following
code :
"Set UserForm1.Photo1.Picture = strFile "
(strfile is the complete path of the picture and is defined as a string )
What is wrong? Can somebody help?Thanks
it at the left side of this command button. The selection of the picture by
clicking on the commandbutton works fine but I can't get the picture to be
displayed in the image button. Which code should I use? I tried the following
code :
"Set UserForm1.Photo1.Picture = strFile "
(strfile is the complete path of the picture and is defined as a string )
What is wrong? Can somebody help?Thanks