Yes/No - A non-zero number is displayed as Yes; a zero number is displayed as No. : Number Format « Date Functions « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Date Functions
- Number Format
Yes/No - A non-zero number is displayed as Yes; a zero number is displayed as No.
Sub formatDemo7()
Debug.Print Format("12345", "Yes/No")
End Sub
Related examples in the same category