PivotTable.CommitChanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs a commit operation on the data source of a PivotTable report based on an OLAP data source.
public:
void CommitChanges();
public void CommitChanges ();
Public Sub CommitChanges ()
Remarks
The CommitChanges() method sends a COMMIT TRANSACTION statement to the OLAP server, and clears all cells that were edited by entering a value, but will not clear formulas in value cells. This method generates a run-time error if it is executed on a PivotTable report based on a non-OLAP data source.