AppEvents_Event.AfterCalculate Event
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.
The AfterCalculate event occurs when all pending refresh activity (both synchronous and asynchronous) and all of the resultant calculation activities have been completed.
public:
event Microsoft::Office::Interop::Excel::AppEvents_AfterCalculateEventHandler ^ AfterCalculate;
event Microsoft.Office.Interop.Excel.AppEvents_AfterCalculateEventHandler AfterCalculate;
Event AfterCalculate As AppEvents_AfterCalculateEventHandler
Event Type
Remarks
This event occurs whenever calculation is completed and there are no outstanding queries. It is mandatory for both conditions to be met before the event occurs. The event can be raised even when there is no sheet data in the workbook, such as whenever calculation finishes for the entire workbook and there are no queries running.
Add-in developers use the AfterCalculate event to know when all the data in the workbook has been fully updated by any queries and/or calculations that may have been in progress.
This event occurs after all Calculate, AfterRefresh, and SheetChange events. It is the last event to occur after all refresh processing and all calc processing have completed, and it occurs afterCalculationState is set to xlDone.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기