CancelRequests Method Example

The CancelRequests method can be used to stop a process that may be taking too long, may appear to be in an infinite loop, or that may be coming from a questionable source.

Private Sub CancelRequestsToWeb_Click()
Dim myWeb As Web

Set myWeb = ActiveWeb
myWeb.CancelRequests
End Sub