MaxIterations Property Example
This example sets the maximum number of iterations at 1000.
Application.MaxIterations = 1000