Quantcast
Channel: OLAP PivotTable Extensions
Viewing all articles
Browse latest Browse all 469

New Post: Enable/Disable AutoRefresh via Macro

$
0
0
If you look at the code (which is in C#) you will see a cmdDisableAutoRefresh_Click function at:
https://olappivottableextend.svn.codeplex.com/svn/OlapPivotTableExtensions/Connect.cs

You will need to translate that code into VBA. It's pretty straightforward except for the dummy text file which causes the PivotTables to refresh when added and removed. I did that because PivotTable.Refresh() will connect to the SQL data source for Power Pivot and refresh. I just wanted to refresh the PivotTables not all the way to the source.

I have some enhancements coming in the next release (probably sometime in July) which enhances disabling refresh on CubeValue formulas and on DAX query tables. If either of those scenarios are your scenario and you need the code early, let me know.

Viewing all articles
Browse latest Browse all 469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>