WorksheetBase.PrintedCommentPages Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of comment pages that will be printed for the current worksheet. This property can be used only in Excel 2010 projects.
public:
property int PrintedCommentPages { int get(); };
public int PrintedCommentPages { get; }
member this.PrintedCommentPages : int
Public ReadOnly Property PrintedCommentPages As Integer
Property Value
The number of comment pages that will be printed for the current worksheet.
Exceptions
This property is used in an Excel 2007 project.
Remarks
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.
Note
This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.