VBA CVErr Function: The CVErr function in VBA returns an Error data type, involving with a user-specified error code.

Syntax

Parameter

Expression (required)– This parameter represents the required error code.

Return

This function returns an Error data type, involving with a user-specified error code.

Example 1

Output

VBA CVErr Function

Example 2

Output

Pin It on Pinterest

Share This