Sub getPic()
Dim objDoc As Document
Dim oPic As InlineShape
Set objDoc = ActiveDocument
Application.ScreenUpdating = True
For Each oPic In objDoc.InlineShapes
oPic.PictureFormat.CropTop = 105
oPic.PictureFormat.CropBottom = 10
'oPic.ScaleHeight = 35 ', msoFalse, msoScaleFromTopLeft
Next
MsgBox "OK"
End Sub
沒有留言:
張貼留言