Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when an error occurs during navigation.
Syntax
expression.NavigateError (URL, StatusCode)
expression A variable that represents a EdgeBrowserControl object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| URL | Required | String | Contains the URL for which navigation failed. |
| StatusCode | Required | Variant | Contains an error status code, if available. |
Status Codes
| Code | Name |
|---|---|
| 0 | Success |
| 1 | Redirected |
| 2 | Cannot Connect |
| 3 | Disconnected |
| 4 | Connection Aborted |
| 5 | Timeout |
| 6 | Connection Reset |
| 7 | Server Unreachable |
| 8 | Host Name Not Resolved |
| 9 | Certificate Common Name Is Incorrect |
| 10 | Operation Cancelled |
| 11 | Redirect Failed |
| 12 | Certificate Expired |
| 13 | Client Certificate Contains Errors |
| 14 | Certificate Revoked |
| 15 | Certificate Is Invalid |
| 16 | Error Http Invalid Server Response |
| 17 | Unexpected Error |
Return value
Nothing
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.