How can I programatically retrieve the number of pages a workbook or worksheet will print to from the Excel 2007 Interop (Microsoft.Office.Interop.Excel)?
PageSetup.Pages.Count will give the correct answer. But how to fetch the correct count if comments are printed at end of sheet.