Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Issue enumerating Pivot tables in xlsx.. [9196]

$
0
0
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.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>