The state of the variables before the line:
dblOrderData(iTab, ORDER_IX.Buy_Price, iInstrument) = 0
iTab=0
ORDER_IX.Buy_Price=0
iInstrument=0
ubound(dblOrderData,1)=0
ubound(dblOrderData,2)=6
ubound(dblOrderData,3)=92
I have an error handler in my code as follows:
[...]
GoTo ExitProc
ErrorHandler:
If Err.Number = 16 Then
'expression too complex error
Resume
[...]
And I have set a breakpoint on the Resume line. If I hit F5 (Continue the code after it breaks), it runs OK but I just don't get why it breaks in the first place.
|