I changed the code to read
But the code still fails at the same line.For Each oShape In oRng.InlineShapes oShape.LockAspectRatio = msoTrue If oShape.Width > wdApp.InchesToPoints(6.5) Then oShape.Width = wdApp.InchesToPoints(6.5) End If Next oShape