Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting Pivot Fields Error Message on Excel Generation

Former Member
0 Likes
317

Hi All,

I have a report which displays the report output in the form of a Pivot Excel file. When the excel opens up, the macros are disabled & the data is not displayed. When i enable the macros, then an error message pops-up which says "Unable to get the PivotFields property of the Pivot Table Class". I don't know what this message means.After clicking on this "Ok" twice the data is displayed correctly.How can i remove this error message? Is it a problem with the code or the template? Please help me in this regard.

Thanks,

Arpita.

1 REPLY 1
Read only

JanarthananE
Contributor
0 Likes
270

Hi,

Refer the following code for better understanding of your requirements..

http://www.saptechies.com/how-to-create-pivot-table-in-excel-using-desktop-office-integration/

hope its useful to u.,

Regards,

Jana