Share via


PageSetup.PrintErrors Property

Sets or returns an XlPrintErrors constant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet.

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

Syntax

'Declaration
Property PrintErrors As XlPrintErrors
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As XlPrintErrors

value = instance.PrintErrors

instance.PrintErrors = value
XlPrintErrors PrintErrors { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlPrintErrors

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace