If IsNull(VALOR) = True Then 'Código a ejecutar si es nulo. Else 'Código a ejecutar si NO es nulo. End If