Excel - Enable user to stop running process

M

MJanker

I have built a com add-in that executes commands (of a third party api)
stored in Excel cells. The user can select one or more cells and start
running the add-in process. The process currently cannot be stopped via
CTRL-BREAK or other means. Thus the user has to wait until all selected cells
have been processed.
I envision, that before processing the next cell, the add-in code checks for
condition to proceed or abort.
How would I use a CTRL-BREAK event to set a flag in my add-in code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top