How to refresh table with a remote file?

sabha

New Member
Joined
Oct 10, 2015
Messages
21
Hi,

I have a report in which all the cells are linked to a pivot table in another tab using the GETPIVOT formula. This pivot table tab alone is 50MB.
Users can click on different buttons in the report to change data based on different regions, quarters, etc. I cannot send a 50MB file to users because it takes a long time to open. So I decided to load my pivot table file to a remote sharepoint and linked all the cells to this sharepoint file. Although the file size of the report became 10 MB, when I clicked on a button the report would have the REF sign. So basically, the file was unable to get data from the sharepoint file. However, the file works if the sharepoint file is open.

Checked online and it seemed like the GetPivot formula was the issue, however, I do not want to go back and relink all the cells in my report...So now I need a way to have both files open without sending 2 files to the user. I decided to create a macro that will automatically download and open the file from sharepoint when the user opens the report. While this worked the first time I ran the macro, it did not work once I closed all files and opened them again. All the cells were linked to the Sharepoint file instead of the downloaded sharepoint file.

Does anyone have a way to keep my cells linked, reduce my file size, and have the data update when a button is clicked? Would appreciate your help!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Maybe instead of keeping the source data in an Excel file w/ Pivot, have you thought about keeping the data in an Access db and have your Excel file pull it's data from a query in that db?
 
Upvote 0
the source data for the pivot is actually a SQL database that is already external. The source is not in an excel file.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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