Problem with canceling actions.

mypicturefaded

Newcomer
Joined
Jun 22, 2009
Messages
3
I have an add-in program that has several forms. When the program is done with one form, it automatically goes to the next method it needs. (Word add-in). My problem is this...When I hit cancel, I want it to stop all actions with-in my add-in. Right now, if I hit cancel, it just continues to the next method. I want to cease all actions, and undo what was done essentially. Enivronment.Exit(exitcode) doesn't work because it closes Word all together.

I want it to just spot the add-in from moving to the next method. Any suggestions?
 
Back
Top