Link to home
Start Free TrialLog in
Avatar of damixa
damixaFlag for Denmark

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 :)

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

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
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial