Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Pivot table from external data source (2003)

    I have a workbook with several pivot tables setting up with the external data source (access database). This pivot table are link to queries that are dealing with orders. I have the same queries that deal with shipments. Do I have a way to copy the workbook and change the links of the pivot tables with the access database in order to change the source queries?
    Thanks and Regards,
    Marcel

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Pivot table from external data source (2003)

    You should be able to run code like this:

    ActiveWorkbook.PivotCaches(1).CommandText = "SELECT * FROM Shipments"

Posting Permissions

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