Partager via


PrintOptions.PrintComments Property (PowerPoint)

Sets or returns whether comments will be printed. Read/write.

Syntax

expression .PrintComments

expression A variable that represents a PrintOptions object.

Return Value

MsoTriState

Remarks

The value of the PrintComments property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The default. Comments will not be printed.

msoTrue

Comments will be printed.

Example

This example instructs Microsoft PowerPoint to print comments.

Sub PrintPresentationComments

    ActivePresentation.PrintOptions.PrintComments = msoTrue

End Sub

See Also

Concepts

PrintOptions Object Members

PrintOptions Object