Framework EDI Reference. Methods and Properties
ediWarnings. Count

Returns the total number of errors and warnings generated.

Syntax:

Example

Set oWarnings = oEdiDoc.GetWarnings
For i = 1 To oWarnings.Count
    Set oWarning = oWarnings.Warning(i)
    List1.AddItem oWarning.Code & " " & oWarning.Description
Next