Created
July 27, 2021 14:48
-
-
Save stevesohcot/d5a3498912ca0daa0cdac75fe3d6138c to your computer and use it in GitHub Desktop.
VBA Null Zero NZ()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Function Nz(value As String) As Double | |
| If IsNull(value) Or (value = "") Then | |
| Nz = 0 | |
| Else | |
| Nz = value | |
| End If | |
| End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment