I'm having a catch-22 sort of issue with the errors() collection. While debugging I just try ?errors(0), and that act alone generates an error(0)="Item not found in this collection", even though there may have been nothing before.
So now in testing, every time there is code with a For Each in the errors collection, there is now an entry in the 0 ordinal = "Item not found...", so further testing is difficult.
I know I could check the .count, but if I'm just doing a quick debug test, I sometimes forget.
So how does one clear the errors(0) collection? There doesn't seem to be a .Clear method.
Thanks,
--Jim
So now in testing, every time there is code with a For Each in the errors collection, there is now an entry in the 0 ordinal = "Item not found...", so further testing is difficult.
I know I could check the .count, but if I'm just doing a quick debug test, I sometimes forget.
So how does one clear the errors(0) collection? There doesn't seem to be a .Clear method.
Thanks,
--Jim