PrintComments Property

Microsoft Excel Visual Basic

XlPrintLocation can be one of these XlPrintLocation constants.
xlPrintInPlace
xlPrintNoComments
xlPrintSheetEnd

expression.PrintComments

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

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

Worksheets(1).PageSetup.PrintComments = xlPrintSheetEnd