Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Applies to: Excel 2013 | Office 2013 | Visual Studio
Starting in Excel 2010, XLLs can receive events designed to manage the asynchronous function life cycle. The events are as follows:
CalculationEnded: Raised when Excel is finished calculating. After this event, you can free resources allocated during the calculation.
CalculationCanceled: Raised when the user interrupts the calculation. The XLL stops any asynchronous activities. Immediately following this event, the CalculationEnded event is raised.
To handle these events, the XLL uses the C API function xlEventRegister.
Note
CalculationEnded and CalculationCanceled are not raised during programmatic recalculation.