ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Populate pivot table with preselected items (https://www.excelbanter.com/excel-programming/366953-populate-pivot-table-preselected-items.html)

sourav.dhar

Populate pivot table with preselected items
 
I have populate a pivot table using C#.net. I have used analysis cube as
source of the pivot table. Now by pivottable.MDX property I got the mdx which
indicates what items I have selected from the pivot table page fields. I
saved the MDX and closed the excel. In my pivot table I have only page fields
and one data field. Now I want to repopulate the same pivot table where only
pre selected items are selected and others are unselected. I want to do this
programmatically. I am using VSTO 2005. How can I do this?


All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com