isnull sql server function in excel vba

Is there a function that has similar functionality to the isnull sql server function in excel vba

need to replace null values with zero-
johnnyg123Asked:
Who is Participating?
 
Lee SavidgeCommented:
There isn't really a direct replacement but you can still use Excels version in combination with iif. Something like this:

iif(isnull(myvalue), 0, myvalue)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.