resize graphics to 65% 
Author Message
 resize graphics to 65%

I need to create a macro that resizes a graphic to 65% of
original size. I've tried recording a macro to do this,
but that picks up the absolute height and width values and
applies them instead of using the percentage. Removing
those absolute values from the macro stops it from working
at all. Any pointers?  Thanks.
Connie


Wed, 20 Jul 2005 01:41:40 GMT  
 resize graphics to 65%

Hi Connie,

You can use the following routine. Make sure that you have the graphic
selected first, or you will raise an error.

With Dialogs(wdDialogFormatPicture)
    .ScaleX = 65
    .ScaleY = 65
    .Execute
End With

HTH


Quote:
> I need to create a macro that resizes a graphic to 65% of
> original size. I've tried recording a macro to do this,
> but that picks up the absolute height and width values and
> applies them instead of using the percentage. Removing
> those absolute values from the macro stops it from working
> at all. Any pointers?  Thanks.
> Connie



Wed, 20 Jul 2005 02:48:15 GMT  
 resize graphics to 65%
So simple! Thanks.
Quote:
>-----Original Message-----
>Hi Connie,

>You can use the following routine. Make sure that you
have the graphic
>selected first, or you will raise an error.

>With Dialogs(wdDialogFormatPicture)
>    .ScaleX = 65
>    .ScaleY = 65
>    .Execute
>End With

>HTH



>> I need to create a macro that resizes a graphic to 65%
of
>> original size. I've tried recording a macro to do this,
>> but that picks up the absolute height and width values
and
>> applies them instead of using the percentage. Removing
>> those absolute values from the macro stops it from
working
>> at all. Any pointers?  Thanks.
>> Connie

>.



Wed, 20 Jul 2005 04:37:20 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to have a timer over 65 seconds

2. MS VB Exam 70-65

3. books for MS Exam 70-65 Programming with MS VB 4

4. Crystal reports and linked table in SQL Server 65

5. 65

6. Insert, resize & reposition graphic image

7. Resizing after drawing graphics on picture

8. Resizing Graphics

9. Resizing Graphic on User Control...

10. Resizing Graphics

11. Resizing a Graphic

 

 
Powered by phpBB® Forum Software