error handler in macro?
Enclose the relevant code in the following:
On error Resume Next
...Your code here..
On error GoTo 0
The first line forces execution to continue from the next
line if an error occurs and the second returns to normal
error-trapping.
You might want to make sure the rest of the code in this
block is robust before doing this, or you may end up with
some pretty wild results...
Cheers, Pete
-----Original Message-----
Want to do a selection.find on a column. How do I return
processing to macro if selection is NOT found?
THANKS
.
|