Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 130
Default Pivot Table changing itself?

I've starting using files, where I set a pivot table looking at another
closed workbook. I use the Workbook_Open event to run a macro that runs
through the pivot tables (between 2 and 5 currently) and updates the
contents, so when the file is opened, it gives up to date figures.

When I email these sheets the macro fails, because it can't update the pivot
tables. Having a quick look, and for the area used by the pivot table, the
filename has changed. Rather than look at the S drive (the mainframe where
just about all information is saved) these tables are now looking at the C
drive, therefore the file doesn't exist (not on the C drive) and cannot
update the pivot table.

Anyone know why this happens? and what I can do to stop it. Sending sheets
to people so so much easier than saving them on the mainframe and giving
people the address.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Pivot Table changing itself?

I don't have a network to test, but if you used the UNC path
(\\server\sharename\) instead of the drive letter (S:), would that help?

PaulW wrote:

I've starting using files, where I set a pivot table looking at another
closed workbook. I use the Workbook_Open event to run a macro that runs
through the pivot tables (between 2 and 5 currently) and updates the
contents, so when the file is opened, it gives up to date figures.

When I email these sheets the macro fails, because it can't update the pivot
tables. Having a quick look, and for the area used by the pivot table, the
filename has changed. Rather than look at the S drive (the mainframe where
just about all information is saved) these tables are now looking at the C
drive, therefore the file doesn't exist (not on the C drive) and cannot
update the pivot table.

Anyone know why this happens? and what I can do to stop it. Sending sheets
to people so so much easier than saving them on the mainframe and giving
people the address.


--

Dave Peterson
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
Changing the Layout of a Pivot Table prana1 Excel Discussion (Misc queries) 5 February 10th 07 03:08 AM
Pivot Table - Changing Data....? [email protected] Excel Discussion (Misc queries) 4 November 30th 06 06:51 PM
Pivot Tables -changing datasource for exsting Pivot Table kfschaefer Setting up and Configuration of Excel 0 May 30th 06 06:36 PM
Changing Pivot Table source jerredjohnson Excel Discussion (Misc queries) 1 May 4th 06 06:59 AM
Changing the data of a Pivot Table Bonbon Excel Discussion (Misc queries) 2 February 20th 06 04:37 PM


All times are GMT +1. The time now is 01:58 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"