LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Changing link to textfile in Pivottable

A colleague has a number of spreadsheets with
Pivottables. Due to maintenance they have now been moved
to a new disk. All the text files have also been moved
and the whole directory structure on the new disk is
identical to the one on the old disk.
However, when we try to recalculate the Pivot tables, the
spreadsheet still try to open the text files on the old
disk. To handle this we have updated the ODBC Connection
that uses a text driver to access the files, specifying
the path on the new disk. Still, the spreadsheet looks
for the old files.
Can the datasource easily be changed to use the new
location. I hope so, otherwise we have to open each
Pivottable and go through the process of choosing each
field again - we are talking many spreadsheets and files,
so help will much appreciated.

I am considering writing some generic VBA code that could
change the pivot object (there must be a property for the
data source). Any hints on how to handle that object?


Regards,

Frank M.
 
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
Link PivotChart to PivotTable, whilst hiding fields clifgriffin Excel Discussion (Misc queries) 0 March 3rd 09 07:03 PM
Pivottable - dynamically changing the range of cells Todd1 Excel Discussion (Misc queries) 1 March 28th 06 06:22 PM
Changing PivotTable source atakacs[_2_] Excel Programming 3 November 7th 03 03:35 AM
Textfile-problem Tom Excel Programming 0 August 6th 03 05:01 PM
Opening and saving textfile into XLS MicMast Excel Programming 1 August 4th 03 01:33 PM


All times are GMT +1. The time now is 07:26 PM.

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"