Hello,
Primarily i would like asssitance on how to trap "divisible by zero" error and continue the code execution. if this error occurs the value of the variable should be zero or else the actual value ( for instance if it is 1/0 the value of variable should be 0 and if it is 2/4 the value of variable should be 2). Also, would like to know, can err.number be (re)intialized to zero?
the below code ( unsure why) give me the following result : when run for the first time it gives me 0 and from 2nd time it gives me the value of 1. This happenns whether i use "On error REsume next" or NOT ( the result is same)
err 9 : Subscript out of range and Err 11 is Division by Zero. why am i getting "subscript out of range" error - i fail to understand. can someone help me out on this?
Thanks
Bookmarks