Worksheet.PrintedCommentPages property (Excel)

Returns the number of comment pages that will be printed for the current worksheet. Read-only.

Syntax

expression.PrintedCommentPages

expression A variable that returns a Worksheet object.

Return value

Long

Remarks

The PrintedCommentPages property only returns a number greater than zero if the Comments setting on the Sheet tab of the Page Setup dialog box is set to At end of sheet. This property returns zero if the sheet is a Chart sheet or an MS Excel 5.0 Dialog sheet.

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.