View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Help me Help me is offline
external usenet poster
 
Posts: 3
Default programatically change the data source of Pivots

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