Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
LoadPicture(FileName) with size?
I have the following line in my VBA code:
Image1.Picture = LoadPicture(FileName) ....and it works fine :-) But, since the picture is being shown in a UserForm, I would like to make sure that it gets loaded in the right size, so I use: Image1.Picture = LoadPicture(FileName), 400, 300 ....but for some reason this goes wrong?!? Even that the LoadPicture have both [widthDesired As Long] and [heightDesired As Long] options? What am I doing wrong??? TIA, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
LoadPicture compile error | Excel Programming | |||
Loadpicture - check if file exists | Excel Programming | |||
LoadPicture for a ControlButton help | Excel Programming | |||
conditional compile for LoadPicture? | Excel Programming | |||
LoadPicture - how to keep .jpg compression | Excel Programming |