View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
CS[_2_] CS[_2_] is offline
external usenet poster
 
Posts: 6
Default Dialog Box - User hits cancel

I have a dialog box for inserting an image that pops up in my macro - if the
user presses cancel - an error is reported (method not supported) how can I
suppress this error?

Can I use some code like - if cancel is pressed exit sub?

Thanks,

Colin