_Worksheet.PrintedCommentPages Property

Gets the number of comment pages that will be printed for the current worksheet.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property PrintedCommentPages As Integer
    Get
'Usage
Dim instance As _Worksheet
Dim value As Integer

value = instance.PrintedCommentPages
int PrintedCommentPages { get; }

Property Value

Type: System.Int32
The number of comment pages that will be printed for the current worksheet.

Remarks

Read-only.

The PrintedCommentPages property will only return 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 will return zero if the sheet is a Chart sheet or a MS Excel 5.0 Dialog sheet.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace