How to set data source for pivot table permenant even if file name or path changed in case data source is already within the same workbook

MGadAllah

Board Regular
Joined
Apr 13, 2008
Messages
62
Office Version
  1. 365
Platform
  1. Windows
Hi,
The pivot table I am making contains data source that is already existing in the same file.
As soon as file name changed or file path location changed , the pivot table no longer working and as soon as I do any refresh in the pivot able it is reporting a error that data source does not exist.
I've tried several ways as set data source as a table but no way.
This is the file:-
https://www.dropbox.com/s/c4lfagmxzae0meo/Total_Employee_Performance.xlsx
So how can I make or set data source to be permanent so in case file renamed or copied from place to another ... pivot table still works.
Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
In that workbook the pivot tables source is in an external workbook:

'\Users\MohamedGad\Desktop\New folder\Employee_Performance.xlsx'!Table1

Why can't you change it to just Table1.
 
Upvote 0
In that workbook the pivot tables source is in an external workbook:

'\Users\MohamedGad\Desktop\New folder\Employee_Performance.xlsx'!Table1

Why can't you change it to just Table1.
It is already the table1 in the 1st worksheet in the same work book that is titled DataEntry :(
Have you tried to change it? does t accept?
please help :)
 
Upvote 0
Yes, I could change the source to Table1.
My question is:-
If you changed th place of the file by movng it to another place, does it stll working?
or even if you renamed it, is it still working?
and why it does not keep data soure s table1 only and not the ull path of the file?
 
Upvote 0

Forum statistics

Threads
1,217,365
Messages
6,136,123
Members
449,993
Latest member
Sphere2215

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top