|
Re: paper: New Scouting Database from Team 2834
Quote:
Originally Posted by Oris
After:
Code:
Set P = ActiveSheet.Shapes.AddPicture(filen, True, True, AC.Left + 2.5, AC.Top + 2.5, 329, 250)
Add:
Code:
P.ScaleHeight 1, True
P.ScaleWidth 1, True
P.Height = 250
That should keep the aspect ratio of the pictures.
-Oris-
|
Hi Oris,
I tried it and it worked. However when I tried it on Excel 2007, I think it changes it back to its original size and then stretch it to Height = 250 without maintaining the aspect ratio. I tried a few things but none seems to work. Can anybody help? I would like to make this work for everybody as more and more people will be using Excel 2007. Thanks.
Ed
__________________
Please don't call me Mr. Ed, I am not a talking horse.
|