Freigeben über


WorksheetBase.PivotTableBeforeCommitChanges Event

Definition

Occurs before changes are committed against the OLAP data source for a PivotTable. This event can be used only in Excel 2010 projects.

public:
 event Microsoft::Office::Interop::Excel::DocEvents_PivotTableBeforeCommitChangesEventHandler ^ PivotTableBeforeCommitChanges;
public event Microsoft.Office.Interop.Excel.DocEvents_PivotTableBeforeCommitChangesEventHandler PivotTableBeforeCommitChanges;
member this.PivotTableBeforeCommitChanges : Microsoft.Office.Interop.Excel.DocEvents_PivotTableBeforeCommitChangesEventHandler 
Public Custom Event PivotTableBeforeCommitChanges As DocEvents_PivotTableBeforeCommitChangesEventHandler 

Event Type

Exceptions

This event is used in an Excel 2007 project.

Remarks

The PivotTableBeforeCommitChanges event occurs immediately before Excel executes a COMMIT TRANSACTION against the PivotTable's OLAP data source, and immediately after the user has chosen to save changes for the whole PivotTable.

Note

This event appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this event cannot be used in Excel 2007 projects.

Applies to