[]
Gets or sets the range of pages to print, where page numbers or page ranges are separated by commas and counted from the beginning of the document.
Use this property to retrieve the page-range string that controls which pages are included in the print operation. For example, "1,3,5-12" prints page 1, page 3, and pages 5 through 12.
string PrintPageRange { get; set; }
Property PrintPageRange As String
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintPageRange = "1,3-5";
string printPageRange = pageSetup.PrintPageRange;