why not just check the value of the divisor before you do the division and if it is zero then exit the sub (with an explanation if you want)
Msgbox "Sorry, division by 0 is not permissible"
End of story.
|
Results 1 to 32 of 32
Threaded View
|
Click Here to Expand Forum to Full Width |