Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Dynamically change the database a PivotTable references

Can anyone tell me if there is a simple way to do the following ... I
have a bunch of PivotTables in workbook (Excel 2003) and from time to
time I want to move the underlying Access database (in which the
source data resides) to a different folder on the network. I
effectively want all my PivotTables to point to this new location.
Right now I can't do this without rebuilding all my PivotTables. I am
sure all of this can be done programatically using VBA but I was
wondering whether there is some more simple method e.g. through
changing the ODBC link reference. Does anyone have a simple solution
to this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default Dynamically change the database a PivotTable references

Hi

Ron Coderre has written a very nice addin for changing data sources for
Pivot Tables.
It can be downloaded at
http://www.contextures.com/xlPivotPlay01.html

--
Regards
Roger Govier



wrote in message
oups.com...
Can anyone tell me if there is a simple way to do the following ... I
have a bunch of PivotTables in workbook (Excel 2003) and from time to
time I want to move the underlying Access database (in which the
source data resides) to a different folder on the network. I
effectively want all my PivotTables to point to this new location.
Right now I can't do this without rebuilding all my PivotTables. I am
sure all of this can be done programatically using VBA but I was
wondering whether there is some more simple method e.g. through
changing the ODBC link reference. Does anyone have a simple solution
to this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Dynamically change the database a PivotTable references

On Sep 10, 6:02 pm, "Roger Govier" <rogerattechnology4NOSPAMu.co.uk
wrote:
Hi

Ron Coderre has written a very nice addin for changing data sources for
Pivot Tables.
It can be downloaded athttp://www.contextures.com/xlPivotPlay01.html

--
Regards
Roger Govier

wrote in message

oups.com...

Can anyone tell me if there is a simple way to do the following ... I
have a bunch of PivotTables in workbook (Excel 2003) and from time to
time I want to move the underlying Access database (in which the
source data resides) to a different folder on the network. I
effectively want all my PivotTables to point to this new location.
Right now I can't do this without rebuilding all my PivotTables. I am
sure all of this can be done programatically using VBA but I was
wondering whether there is some more simple method e.g. through
changing the ODBC link reference. Does anyone have a simple solution
to this?


Thanks Roger, appreciate the 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
Dynamically connecting to a remote database Tony Excel Discussion (Misc queries) 0 April 14th 08 05:35 PM
Pivottable References T De Villiers[_52_] Excel Programming 1 July 24th 06 03:07 PM
MS Excel 2000 - Change PivotTable DataSource (Access2000 database) Scott Excel Discussion (Misc queries) 0 May 30th 06 03:33 PM
Pivottable - dynamically changing the range of cells Todd1 Excel Discussion (Misc queries) 1 March 28th 06 06:22 PM
dynamically building references to named ranges [email protected] Excel Discussion (Misc queries) 1 January 3rd 06 10:23 PM


All times are GMT +1. The time now is 02:08 AM.

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

About Us

"It's about Microsoft Excel"