damixa
asked on
Refresh a Pivot Table from an access database
I have a weird problem. My access database we will call db1.accdb exports data into an excel spreadsheet. Once the data is exported I need to be able to refresh the pivot in the spreadsheet from the access database (I'm trying to automate a process and asking people to refresh the pivot is too much :)
I need to create some code in vba that when I click the Export Button in db1 will also refresh pivot1 in spreadsheet2
so bottom line creating a button in access that refreshes an external pivot table in spreadsheet2.xls
thanks in advance, hopefully I didnt make it too confusing
db1.accdb exports info into spreadsheet1.xls
spreadsheet2.xl is linked to spreadsheet1.xls to get the raw data from there
spreadsheet2.xls contains pivot1
spreadsheet2.xl is linked to spreadsheet1.xls to get the raw data from there
spreadsheet2.xls contains pivot1
I need to create some code in vba that when I click the Export Button in db1 will also refresh pivot1 in spreadsheet2
so bottom line creating a button in access that refreshes an external pivot table in spreadsheet2.xls
thanks in advance, hopefully I didnt make it too confusing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.