旅游景点 旅游攻略 生活知识 文化旅游 旅游景区 昆明旅游 桂林旅游 乡村旅游 上海旅游 知识问答

通过执行宏命令批量给word中的图片加边框

时间:2024-10-15 14:45:28

1、打开word中的视图标签卡,选择宏,然后查看宏

通过执行宏命令批量给word中的图片加边框通过执行宏命令批量给word中的图片加边框

2、创建宏命令,自己可以命名也可以使用系统中的名字,这个不影响最后的效果

通过执行宏命令批量给word中的图片加边框

3、粘贴如下代码:Sub Example() Dim oInlineShape As InlineShape Application.ScreenUpdating = False For Each oInlineShape In ActiveDocument.InlineShapes With oInlineShape.Borders .OutsideLineStyle = wdLineStyleSingle .OutsideColorIndex = wdColorAutomatic .OutsideLineWidth = wdLineWidth050pt End With Next Application.ScreenUpdating = TrueEnd Sub

通过执行宏命令批量给word中的图片加边框

4、执行宏命令

通过执行宏命令批量给word中的图片加边框

5、最终效果

通过执行宏命令批量给word中的图片加边框
© 2026 途途旅游
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com