Signature (Visual Basic / VBA)
Public Function IsTrue( _
ByVal vValue As Variant _
) As Boolean
Code Example
IsTrue(23) = True
IsTrue(0) = False
IsTrue("Hello.") = False
IsTrue("True") = True
IsTrue("False") = False
IsTrue("1") = True
Parameters
| Parameter | Description |
|---|---|
| vValue | Value which is checked to see if it is True. If vValue is numeric, return True if it is NON-zero. If vValue is a string, return True if it equals "on", "true", "yes", "1", or "+". Function returns False otherwise. |
Notes & Version History
| Note | This is the same as the IsOn function. |