run a button click event

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I want to run the same block of code that runs when I
click my button thats named "Command33" when there is an
error. I really want this to only run it one additional
time so it doesn't get stuck in a loop.
 
Dan said:
I want to run the same block of code that runs when I
click my button thats named "Command33" when there is an
error. I really want this to only run it one additional
time so it doesn't get stuck in a loop.

If it runs once when you click it the first time it will only run once when
you click it the second time.
If not you will probably want to use onerror to trap and possibly offer a
solution to the problem.
 
Back
Top