如果该属性值为 True,则剪切和粘贴选定内容时,Microsoft Word 自动调整表格的格式。Boolean 类型,可读写。
expression.PasteAdjustTableFormatting
expression 必需。该表达式返回“应用于”列表中的一个对象。
如果禁用该选项,本示例设置 Microsoft Word 在剪切和粘贴时自动设置表格的格式。
Sub AdjustTableFormatting()
With Options
If .PasteAdjustTableFormatting = False Then
.PasteAdjustTableFormatting = True
End If
End With
End Sub