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表格为自适应宽度
阅读 444
阅读 450
阅读 610
推荐阅读
阅读 1,918
阅读 758
阅读 1,699
阅读 3,207
阅读 674
阅读 4,332
阅读 1,480
阅读 983
阅读 1,331
阅读 1,627