+ Reply to Thread
Results 1 to 1 of 1

Unable to get the RowRange property of the PivotTable class

Hybrid View

  1. #1
    Registered User
    Join Date
    07-24-2006
    Posts
    5

    Unable to get the RowRange property of the PivotTable class

    I have a VB.NET program that open an Existing worksheet containing some pivot tables. For each pivot table I want get the RowRange property:

    dim oPt as Excel.PivotTable
    dim oRng as excel.Range

    for each oPt in oWs.PivotTables
    oRng = oPt .RowRange
    .
    .
    .
    next

    Sometimes, The istruction "oPt .RowRange" raise this exception:

    Run-time exception thrown : System.Runtime.InteropServices.COMException - Unable to get the RowRange property of the PivotTable class

    WHY!?!?
    Last edited by dan_coder; 10-02-2006 at 04:16 AM.

+ 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