Sub 批量修改表格为自适应宽度()
'
' 批量修改表格为自适应宽度 宏
'
'
Dim tempTable As Table
Application.ScreenUpdating = False
If ActiveDocument.ProtectionType = wdAllowOnlyFormFields Then
MsgBox "文档已保护,此时不能选中多个表格!"
Exit Sub
End If
For Each tempTable In ActiveDocument.Tables
tempTable.AutoFitBehavior (wdAutoFitWindow)
Next
End Sub
宏批量修改word表格为自适应宽度
阅读 531
阅读 543
阅读 731
推荐阅读
阅读 938
阅读 671
阅读 2,249
阅读 1,971
阅读 531
阅读 1,873
阅读 733
阅读 1,039
阅读 1,536