I have a VB.net Excel Add-in that populates Excel with data pulled from a SQL database.
This can run into hundreds of thousands of rows so I need the user to be able to stop
it if they want to. What is the best way to do this. Can I use a button with code behind it?