Presentation.DisplayComments property (PowerPoint)

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.

ActivePresentation.DisplayComments = msoFalse

See also

Presentation 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.