Muokkaa

Jaa


View.ShowComments property (Word)

True for Microsoft Word to display the comments in a document. Read/write Boolean.

Syntax

expression. ShowComments

expression An expression that returns a 'View' object.

Remarks

If revision marks are displayed in balloons in the right or left margin, comments are displayed in balloons. If revision marks are displayed inline, the text to which comments apply is surrounded by wide-angled square brackets; when a user places the mouse pointer over the text within the brackets, the related comment is displayed in a square balloon directly above the mouse pointer.

Example

This example hides the comments in the active document. This example assumes that the document in the active window contains one or more comments.

Sub HideComments() 
 ActiveWindow.View.ShowComments = False 
End Sub

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.