Hi,
I have a powerpivot-based model, and was looking through the web to automate the process of refreshing the graphs without having to open the powerpivot window, and then clicking on the "Refresh All" button (I'm using Excel 2010). I came across the VBA code written by Goban Saor on this blog: VBA Code to Automate a PowerPivot Refresh | Gobán Saor The problem is that I don't know enough about VBA to make the code provided on the website work with my spreadsheet, and I was wondering if anybody could help me. Which inputs in the code do I need to change to make it work with my specific file on Excel 2010 (if any)? The name of my Excel file is PTM.xlsm, and the name of the pivot table is Table1. Will the VBA code go on the Workbook script, or under the specific sheet? Since I have 5 sheets linked to the same underlying powerpivot, do I need to change anything in the code to account for that? Thank you for the help ahead of time!
I have a powerpivot-based model, and was looking through the web to automate the process of refreshing the graphs without having to open the powerpivot window, and then clicking on the "Refresh All" button (I'm using Excel 2010). I came across the VBA code written by Goban Saor on this blog: VBA Code to Automate a PowerPivot Refresh | Gobán Saor The problem is that I don't know enough about VBA to make the code provided on the website work with my spreadsheet, and I was wondering if anybody could help me. Which inputs in the code do I need to change to make it work with my specific file on Excel 2010 (if any)? The name of my Excel file is PTM.xlsm, and the name of the pivot table is Table1. Will the VBA code go on the Workbook script, or under the specific sheet? Since I have 5 sheets linked to the same underlying powerpivot, do I need to change anything in the code to account for that? Thank you for the help ahead of time!