AnalysisOption.WarningQueueLength

This property returns or sets the how many analysis warnings should be saved.

Syntax Return Value
- Integer

SVB Example

Limit the number of warning messages queued from an analysis:

Option Base 1
Option Explicit
Sub Main
    'sets the warning queue length to 5
    'this is the number of warning messages that will be
    'saved in the warnings dialog
    Application.Option.Analysis.WarningQueueLength = 5
End Sub