[Solved] On Error GoTo - Could not make it work
Posted: Fri Oct 19, 2018 7:02 pm
Hello All,
Trying to ignore records with values causing calculation errors. All I ned is to simply continue with the next record. Have the following:
...
Do While 1=1
On Error GoTo xxthere
...
<code>
...
xxthere:
Loop
...
I tried putting the On Error statement to before Do, did not help.
The error I receive is: Inadmissable value or data type. Index out of defined range.
What am I doing wrong?
Thanks in advance for the help.
Trying to ignore records with values causing calculation errors. All I ned is to simply continue with the next record. Have the following:
...
Do While 1=1
On Error GoTo xxthere
...
<code>
...
xxthere:
Loop
...
I tried putting the On Error statement to before Do, did not help.
The error I receive is: Inadmissable value or data type. Index out of defined range.
What am I doing wrong?
Thanks in advance for the help.