ShowFormatChanges 属性 (Word)View.ShowFormatChanges property (Word)

如果为 True,则在启用“修订”功能后,Microsoft Word 显示对文档所作的格式更改。True for Microsoft Word to display formatting changes made to a document with Track Changes enabled. 读/写 BooleanRead/write Boolean.

语法Syntax

expressionexpression. ShowFormatChanges

_表达式_一个返回 "View" 对象的表达式。expression An expression that returns a 'View' object.

示例Example

本示例隐藏对活动文档所作的格式更改。This example hides the formatting changes made to the active document. 本示例假定在启用“修订”功能后,以对文档进行了格式更改。This example assumes that formatting changes have been made to a document in which Track Changes is enabled.

Sub HideFormattingChanges() 
 ActiveWindow.View.ShowFormatChanges = False 
End Sub

另请参阅See also

视图对象View Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.