PageSetup.PrintComments property (Excel)

Returns or sets the way comments are printed with the sheet. Read/write XlPrintLocation.

Syntax

expression.PrintComments

expression A variable that represents a PageSetup object.

Example

This example causes comments to be printed as end notes when worksheet one is printed.

Worksheets(1).PageSetup.PrintComments = xlPrintSheetEnd

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.