![]() |
#2
|
||||
|
||||
![]()
Since your Excel object could have been inserted either in-line or floating, the following macro caters for both:
Code:
Sub ReSize() With Selection If .InlineShapes.Count <> 0 Then With .InlineShapes(1) .LockAspectRatio = True .Height = .Height * 0.6 End With End If If .ShapeRange.Count <> 0 Then With .ShapeRange(1) .LockAspectRatio = True .Height = .Height * 0.6 End With End If End With End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
PeterSent | Word | 3 | 08-31-2013 09:30 AM |
![]() |
cncolom | Word | 1 | 03-29-2013 03:01 PM |
![]() |
mohsin | Word | 1 | 03-27-2012 10:43 PM |
![]() |
tinfanide | Excel Programming | 7 | 12-12-2011 05:21 AM |
Excel File as Linked Object in Word | jfitch | Word | 0 | 03-18-2010 11:44 AM |