word 宏怎么编写 csdn
发布网友
发布时间:2022-06-04 20:01
我来回答
共1个回答
热心网友
时间:2022-07-11 04:02
参考如下代码:
Sub 批量调整图片尺寸()
Dim iShape As InlineShape
For Each iShape In ActiveDocument.InlineShapes
If iShape.Type = wdInlineShapePicture Then
iShape.Height = CentimetersToPoints(14.26)
iShape.Width = CentimetersToPoints(18.06)
End If
Next
End Sub