RefreshDataNow (Method)

Applies To:

ChartSection object, PivotSection object

Description:

Immediately refresh a section that was manually refreshed using the Object Model or user interface. This method is used with the RefreshData (Property) if the property value was set to the bqRefreshDataManually constant.

Syntax:

Expression.RefreshDataNow()

Expression Required:

An expression that returns an object for Pivot or Chart sections.

Example:

In this example a Pivot section is set to refresh manually; immediately after the command executes:

ActiveDocument.Sections["Pivot"].RefreshData=bqRefreshDataManually
ActiveDocument.Sections["Pivot"].RefreshDataNow()