Skip to main content

PivotCache.Refresh method

Table of contents
  1. Syntax
  2. Example

Causes the specified PivotCache to be redrawn immediately.

Syntax

expression.Refresh

expression A variable that represents a PivotCache object.

Example

This example refreshes the PivotTable cache for the first PivotTable report on the first worksheet in a workbook.

Worksheets(1).PivotTables(1).PivotCache.Refresh

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>