Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there
I was just wondering whether it is possible to refresh or relink the data source of a pivot table programatically? Example - Sheet 1 has 1 pivot table source: c:\mydb.mdb Can i write some code to change the datasource of Sheet 1 pivot table to h:\new location\sub folder\another sub\on a diff drive\mydb.mdb cheers |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
see the macro at the bottom of article written by Harald Staff
Introduction To Pivot Tables http://www.cpearson.com/excel/pivots.htm You can find additional information on Pivot Tables on Debra Dalgleish's site I think there is also a macro there to update Pivot Tables. http://www.contextures.com/tiptech.html --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Help me" wrote in message ... Hi there I was just wondering whether it is possible to refresh or relink the data source of a pivot table programatically? Example - Sheet 1 has 1 pivot table source: c:\mydb.mdb Can i write some code to change the datasource of Sheet 1 pivot table to h:\new location\sub folder\another sub\on a diff drive\mydb.mdb cheers |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i change the data source | Excel Discussion (Misc queries) | |||
Same Data source for Multiple Pivots | Excel Discussion (Misc queries) | |||
Anyone help with this error in changing data source of pivots | Excel Programming | |||
I would like to build macro's to do pivots or part of pivots | Excel Programming | |||
Pivots using other pivots and dynamic query problem | Excel Programming |