title: Returning a value or Cancel from Excel userform
body: <p>I have a sub that calls a userform to show and would only like to proceed if the user didn't click my Cancel button. I don't want to put all my other sub calls within the userform.</p>
  
  <p>Is it possible to have a userform return a value or a way to check if the user clicked a particular button?</p>
  
  <p>I suppose I can use a global variable, but was wondering if I could pass things to and from a userform.</p>