Signature (Visual Basic / VBA)
Public Function IsOff( _
ByVal vValue As Variant _
) As Boolean
Code Example
IsOff(23) = False
IsOff(0) = True
IsOff("Hello.") = False
IsOff("True") = False
IsOff("False") = True
IsOff("1") = False
Parameters
| Parameter | Description |
|---|---|
| vValue | Value which is checked to see if it is False. If vValue is numeric, return True if it equals 0 (zero). If vValue is a string, return True if it equals "false", "off", "no", "0", or "-". Function returns False otherwise. |