Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Deleting old connections

I have a data range that I update through code based on a MSQuery connection to an Access database and a pivot table that references this data range. Let's say I set the connection and the command text (in code) to read File A (external datasource) and refresh. My data range refreshes and the pivot table reads/displays File A's info. If I then change the connection and command text to read File B (external datasource) and refresh, the data range refreshes (File A is no longer displayed, only File B) but the pivot table reads/displays both File A's and File B's data. I have tried resetting the Pivot Cache for this Pivot table by resetting the Pivot Cache connection, but nothing seems to get rid of the information from File A in my Pivot table. Please help!!!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connections with multiple worksheets bvicari Excel Discussion (Misc queries) 0 September 2nd 09 10:51 PM
Data connections Julie LF Excel Discussion (Misc queries) 5 January 30th 09 10:55 PM
Data Connections Ric Lager Excel Worksheet Functions 0 December 5th 08 05:35 PM
Data connections Nat Excel Discussion (Misc queries) 0 August 7th 08 05:23 PM
remote connections John A Grandy New Users to Excel 1 May 26th 06 12:58 AM


All times are GMT +1. The time now is 08:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"