hello
I have a code that recieve a value of combo box , draw a chart , save picture and load that one in image box.
my saved pictures have a different name so I written this
but the code erorr such " the file not found "
what should I do?
I have a code that recieve a value of combo box , draw a chart , save picture and load that one in image box.
my saved pictures have a different name so I written this
Code:
myFileName = Me.ComboBox1.Value & ".jpg"
Me.Image1.Picture = LoadPicture(ThisWorkbook.Path & "" & myFileName)
what should I do?
Last edited by a moderator: