akashawalker
New Member
- Joined
- May 2, 2013
- Messages
- 16
Hi to all
i am using the below code to insert a picture in excel. the code works and i get a picture, but i how like to size the picture to a fixe width and maintain the aspect ratio.
Any good suggestions.?
Worksheets("Approval Drawing 1").Shapes.AddPicture _
Filename:=myDir & approvaldrawing1 & T_1, _
linktofile:=msoFalse, savewithdocument:=msoTrue, _
Left:=15, Top:=50, Width:=300, Height:=350
Thanks for you time and collaboration
Akasha walker
i am using the below code to insert a picture in excel. the code works and i get a picture, but i how like to size the picture to a fixe width and maintain the aspect ratio.
Any good suggestions.?
Worksheets("Approval Drawing 1").Shapes.AddPicture _
Filename:=myDir & approvaldrawing1 & T_1, _
linktofile:=msoFalse, savewithdocument:=msoTrue, _
Left:=15, Top:=50, Width:=300, Height:=350
Thanks for you time and collaboration
Akasha walker