pivot table - PivotTables Won't Update excel vba -
what missing?!
i've got workbook set link external csv file. there formulas link values in pivot table. if you've got doc open , refresh manually/wait values in pivot tables/formulas update, programmatically stay same (both pivot , resultant formulas)?
application.displayalerts = false dim wbk workbook dim pt pivottable set wbk = workbooks.open(filepath, true) each pt in wbk.pivottables pt.refreshtable next pt wbk.worksheets.application.calculate
am using wrong kind of refresh? tried adding in wait time, did nothing. calculations set automatic. should refreshing pivot data source rather tables themselves??
Comments
Post a Comment