Please Help!!!! Pivot problem - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Please Help!!!! Pivot problem

shardaluleshardalule Posts: 1Member
I have recorded the macro to create the dynamic report depend on the particular data .The code is working fine when i have recorded in MS 2007 but when i recorded in MS 2003 its giving me error as "Invalid Procedure call or argument.

ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"Sheet1!R1C1:R3421C7").CreatePivotTable TableDestination:= _
"[Book1.xls]Sheet2!R2C1", TableName:="PivotTable1", DefaultVersion:= _

The part of code i have attached where i am getting the error.
Please can somebody help me out this its urgent!!!!

Sign In or Register to comment.