AdvancedSearchStopped Event
Occurs when a specified Search object's Stop method has been executed.
Private Sub application_ AdvancedSearchStopped(ByVal SearchObject As Object)
expression A variable that references an object of type Application declared with events in a class module.
SearchObject The Search object returned by the AdvancedSearch method.
Remarks
After this event is fired, the Search object’s Results collection will no longer be updated. This event can only be triggered programmatically.
Example
The following example displays the name of the Search object that was stopped.
Private Sub olApp_AdvancedSearchStopped(ByVal SearchObject As Search)
'Inform the user that the search has stopped.
MsgBox "An AdvancedSearch has been stopped. " & _
"The results that are returned are not necessarily the complete results of the search."
End Sub