Signature (Visual Basic / VBA)
Public Function CVarIgnErr( _
ByVal vValue As Variant _
) As Variant
Code Example
CVarIgnErr(34) = 34
CVarIgnErr("Word") = "Word"
IsEmpty(CVarIgnErr(Nothing)) = True
Parameters
| Parameter | Description |
|---|---|
| vValue | The value which will be converted to a Variant and returned (if conversion is possible). Conversion is not possible if vValue is Null, an Error, or an Object. |