共用方式為


Worksheet.PivotTableBeforeCommitChanges Event

Definition

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

public:
 event Microsoft::Office::Interop::Excel::DocEvents_PivotTableBeforeCommitChangesEventHandler ^ PivotTableBeforeCommitChanges;
event Microsoft.Office.Interop.Excel.DocEvents_PivotTableBeforeCommitChangesEventHandler PivotTableBeforeCommitChanges;
member this.PivotTableBeforeCommitChanges : Microsoft.Office.Interop.Excel.DocEvents_PivotTableBeforeCommitChangesEventHandler 
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