Hi.
Anyone has issues accessing Pivot tables?
.WorkSheet.PivotTables.Count() returns 0 ..
... yet, when I access the xlsx via OpenXML, i can see the Pivot...
using ClosedXML ver 0.69.1.0 on Framework 4.0 ... please advise, thanks....
Comments: Can you provide a reproduction case. I can't reproduce this. How are you getting the worksheet? Do you have a handle on correct worksheet. Note: The worksheet position is 1 based. So var x = workbook.Worksheets.Worksheet(2).PivotTables.Count(); will actually return the SECOND worksheet in the workbook. Make sure you getting a handle on the correct worksheet.
Anyone has issues accessing Pivot tables?
.WorkSheet.PivotTables.Count() returns 0 ..
... yet, when I access the xlsx via OpenXML, i can see the Pivot...
using ClosedXML ver 0.69.1.0 on Framework 4.0 ... please advise, thanks....
Comments: Can you provide a reproduction case. I can't reproduce this. How are you getting the worksheet? Do you have a handle on correct worksheet. Note: The worksheet position is 1 based. So var x = workbook.Worksheets.Worksheet(2).PivotTables.Count(); will actually return the SECOND worksheet in the workbook. Make sure you getting a handle on the correct worksheet.