Enum VBErlAfterErrClear
What Err.Clear does to the line Erl reports.
public enum VBErlAfterErrClear
Fields
Kept = 1Err.ClearleavesErlas it is, as MS-VBA does.Choose it when a workspace's own code depends on MS-VBA's behaviour, such as a handler that clears the error before it logs the line.
Reset = 0Err.ClearresetsErlto0, with the rest of the error it clears.The default: once there is no error, there is no line it was raised at.
Remarks
An RD-VBA setting, as VBErlLineNumbering is (RD-VBAL §6.1.2.7.1.14). In MS-VBA, Err.Clear resets the error's number and the
rest of the error object, but Erl goes on reporting the line of the error it cleared. A Resume statement, an On Error statement and leaving the procedure
from an error handler do reset it, in MS-VBA as in RD-VBA, whatever this says.