Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA Not Running in Exported Pivot Table
Using MS Access I've created a Piviot Table imbedded into an Access Form. I'm
opening a Pivot Table for editing in Excel my following code won't run: Sub mcrRefreshPvt() ' ' mcrRefreshPvt Macro ' Keyboard Shortcut: Ctrl+r ' ActiveSheet.PivotTables("PivotTable1").PivotCache. Refresh End Sub However, if I follow the Debug prompt & then clik on "ThisWorkbook" I am able to run my code & refresh the Pivot table. How do I get this code to automatically run when I open the table in excel? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Table Running Sum % | Excel Discussion (Misc queries) | |||
Pivot Table-Running Total | Excel Worksheet Functions | |||
Pivot table running % total | Excel Discussion (Misc queries) | |||
How do I do running Totals in a Pivot Table | Excel Worksheet Functions | |||
Pivot table and running total | Excel Discussion (Misc queries) |