IsNull Function

Comprueba si una variante contién el valor especial Null (nulu) indicando que la variable nun contién datos.

Returns True when an object variable is passed that does not refer to a valid object, such as a newly created object that has not yet been assigned or an object assigned to the Nothing literal.

Sintaxis:


IsNull (Var)

Valor de torna:

Boolean

Parámetros:

Var: Cualesquier variable que se deseye comprobar. Esta función devuelve True si la variante contién el valor Null o False si contién otru distintu.

Null: esti valor usar pa un subtipu de datos de tipu variant ensin conteníu válido.

Error codes:

5 Llamada a procedimientu non válida

Exemplu:


Sub ExampleIsNull
Dim vVar As Variant
    MsgBox IsNull(vVar)
End Sub

Please support us!