Excel Command - still need help
Posted: Thu Apr 05, 2007 6:29 pm
Hi Everybody,
I thought I had this figured out but no such luck. (Re-size an inserted image)
I need to convert the folowing code to fwh:
I tried:
But that resized ALL images that I had inserted. I want to be able to re-size them as I insert them leaving previous images alone.
Thanks,
Jeff
I thought I had this figured out but no such luck. (Re-size an inserted image)
I need to convert the folowing code to fwh:
Code: Select all
Selection.ShapeRange.LockAspectRatio = msoTrue
Selection.ShapeRange.Height = 286.5
Selection.ShapeRange.Width = 657#
Selection.ShapeRange.Rotation = 0#
Code: Select all
oSheet:Pictures:Height:= 286.5
oSheet:Pictures:Width:= 657
Thanks,
Jeff