Word 2007 bug: Inlineshapes(1).scale width returns 0
- From: "jkorchok@xxxxxxxxx" <jkorchok@xxxxxxxxx>
- Date: Wed, 11 Jul 2012 10:59:44 -0700 (PDT)
The following code runs correctly in Word 2003, but always returns 0 in Word 2007.
Sub AAScaleWidth()
Dim SelectedPicture1 As InlineShape
Set SelectedPicture1 = Selection.InlineShapes(1)
MsgBox SelectedPicture1.ScaleWidth
End Sub
The same thing happens with ScaleHeight. Is there a known workaround for this bug?
John
.
- Follow-Ups:
- Re: Word 2007 bug: Inlineshapes(1).scale width returns 0
- From: Stefan Blom
- Re: Word 2007 bug: Inlineshapes(1).scale width returns 0
- Prev by Date: Re: Format text in text box
- Next by Date: Re: List all "Styles Used"
- Previous by thread: Format text in text box
- Next by thread: Re: Word 2007 bug: Inlineshapes(1).scale width returns 0
- Index(es):