+ Reply to Thread
Results 1 to 3 of 3

error in creating pivot table in C#

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    2

    error in creating pivot table in C#

    Hi,
    I am trying to create a pivot table in C# using method provided by Microsoft "CreatePivotTable" http://msdn.microsoft.com/enus/libra...ffice.12).aspx

    In that method, 4th parameter is version number. If I give XlPivotTableVersionList.XlpivotTableVersion10, pivot table gets created successfully.
    but, If I use XlPivotTableVersionList.XlpivotTableVersion12, method is throwing exception of "invalid argument"
    I am using Excel 2007.
    please, help me out...
    Do I need to do some additional settings to use for Version12



    Thanks,

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: error in creating pivot table in C#

    What formatis the workbook in and which PIA do you have referenced?
    Good luck.

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: error in creating pivot table in C#

    Thanks for your quick answer..
    I have referenced Office12 PIA. Everything is referred with respect to Office 12 only..


    Thanks,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1