I hope I am at the right address.
I wish to access the Listobjects of a sheet using c# and excel interop.
I am porting from Powershell so I know that the Com interface is working.
However, my c# (and vscode) experience is about a days worth.
Microsoft.Office.Interop.Excel.Worksheet excelSheet = (Microsoft.Office.Interop.Excel.Worksheet)excelDocument.Worksheets[SheetName] ;
WriteLine(excelSheet.Name); //This works as intended
WriteLine(excelSheet.ListObjects.Count) ; // Not Working: Any Collection Returned is 0
My question is why any Collection with a count member returns 0 and whether I have to take care using the proper library versions and whatnot.