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表格为自适应宽度
阅读 16
阅读 78
阅读 80
推荐阅读
阅读 1,358
阅读 1,344
阅读 1,704
阅读 1,224
阅读 1,274
阅读 1,598
阅读 1,511
阅读 1,536