You attempted to obtain the value of a Variant variable that is Null. You can only obtain the value of Variant variables that contain valid values. Null is a Variant subtype used to indicate that a data item contains no valid data.

To correct this error

  • Make sure the variable contains a valid value.

See Also

Reference

IsNull Function