Return to VBA Code Examples

VBA IsEmpty Function

IsEmpty Description

Used to check for blank cells or uninitialized variables.

Simple IsEmpty Examples

This will return True.

This will return False.

IsEmpty Syntax

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

The IsEmpty function contains an argument:

Expression: An expression that will be evaluated.

Examples of Excel VBA IsEmpty Function

Result: False

Result: True

IsEmpty function can be used to check blank cells.

The result is as following.

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!