I have my report set to refresh a Query, then filldown a column that already exists with a formula that is already at the beginning of the column, then refresh the pivot table that references the query table.
For some reason, I have to run the Macro Twice (Which I have in the form of a button) and I really don't want to run it twice.
Sub Runthrough()
'
' Runthrough Macro
'
'
ActiveWorkbook.Connections("Query - Purchasereceipt").Refresh
Range("Purchasereceipt[[Grade]]").FillDown
Sheets("Pivot Table").PivotTables("PivotTable1").PivotCache.Refresh
End Sub
Thoughts?