I am trying to get the name of an existing worksheet (Sheet1, Sheet2, etc) using the following statements. However, GetSheetNameByReference is an internal protected method so the following does not work.
IWorkbook workbook = application.Workbooks.Open(d.ResolveApplicationDataPath(@"Products_09172014.xlsx"),
ExcelOpenType.Automatic);
var x = ((WorkbookImpl)workbook).GetSheetNameByReference(0);
Is there another technique to get the sheet name besides trying to use GetSheetNameByReference in this way ?