View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sing Sing is offline
external usenet poster
 
Posts: 18
Default How to cancel midway?

Dear Excel Gurus,

I have VBA code that takes about 5 minutes to run. Sometimes, I want to
cancel it halfway.

Can I add a new "Cancel" button to cancel the operation? What code should I
put for that button?

Thanks for your advice.