Thread: Cancel button
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
David Battams David Battams is offline
external usenet poster
 
Posts: 7
Default Cancel button

What are you telling the Cancel button to do? If you don't have any code in
the event handler then all it will do is close the dialog.

Wayne.


"IamHaxer" wrote in message
...
When using a custom dialog box why doesn't the cancel button work. I mean

yes it takes you out of the dialog box but any values you entered while in
it (such as selecting a value from a combo box) are still applied if you hit
"Cancel" or "Ok". Is there a way to make the changes not apply if you hit
"Cancel"?