Compartilhar via


WorkbookBase.SheetPivotTableBeforeCommitChanges Event

Definition

Occurs before changes are committed against the OLAP data source for a PivotTable.

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

Event Type

Exceptions

This event is used in an Excel 2007 project.

Remarks

The SheetPivotTableBeforeCommitChanges 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