vbNull is like an enumeration for VarType. (Pedantically speaking it is not an enumeration because it isn't an argument of a function or a sub but a result. However it does the same job.)
These following are both the same test but the vbNull is easier than remembering all the different numbers for variable type (vbEmpty, vbInteger, vbLong, etc)
VarType(somevariable) = 1
VarType(somevariable) = vbNull
It is the same with all enumerations. The code is actually working on numbers. The enumerations are for our convenience.
For example, when you open a recordset you might specify dbReadOnly which enumerates to 4.
vbNullString is just another way to write "" more clearly when "" can get lost in the code.
These following are both the same test but the vbNull is easier than remembering all the different numbers for variable type (vbEmpty, vbInteger, vbLong, etc)
VarType(somevariable) = 1
VarType(somevariable) = vbNull
It is the same with all enumerations. The code is actually working on numbers. The enumerations are for our convenience.
For example, when you open a recordset you might specify dbReadOnly which enumerates to 4.
vbNullString is just another way to write "" more clearly when "" can get lost in the code.