View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Old Dog Old Dog is offline
external usenet poster
 
Posts: 5
Default Exit an entire task ?

The problem I have is that I have a msgbox which gives the operator the
opportunity to Exit the task. This procedure was part of the code
behind a Userform. Once they click Cancel the Exit Sub executes with
control reverting back to the original sub routine with the Userform
still present on the screen. What I need is to have the click of the
Cancel to completely close the task.