[]
Gets or sets a PrintErrors constant specifying how cell error values are displayed when the worksheet is printed.
This setting can be used to suppress the display of error values during printing, for example by showing blanks, dashes, or #N/A instead of the original error values.
PrintErrors PrintErrors { get; set; }
Property PrintErrors As PrintErrors
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintErrors = PrintErrors.Dash;
PrintErrors printErrors = pageSetup.PrintErrors;