Return to VBA Code Examples

VBA IsNull Function

IsNull Description

Used to check for a NULL value.

Simple IsNull Examples

Result: False

Result: True

IsNull Syntax

In the VBA Editor, you can type  “IsNull(” to see the syntax for the IsNull Function:

The IsNull function contains an argument:

Expression: An expression that will be tested.

IsNull Function Access VBA

The IsNull function works the same in Access VBA as it does in Excel VBA.

It is useful to check for a NULL value in a RecordSet Object.

 

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro - A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users! vba save as


Learn More!