Share via


Presentation.DisplayComments Property

PowerPoint Developer Reference

Determines whether comments are displayed in the specified presentation. Read/write.

Syntax

expression.DisplayComments

expression   A variable that represents a Presentation object.

Return Value
MsoTriState

Remarks

The value returned by the DisplayComments property can be one of these MsoTriState constants.

Constant Description
msoFalse Comments are not displayed in the specified presentation.
msoTrue Comments are displayed in the specified presentation.

Example

This example hides comments in the active presentation.

Visual Basic for Applications
  ActivePresentation.DisplayComments = msoFalse

See Also