Function Fix Ups Class

FixUpVariantToSingleMandFn

"Fix Up Variant To Single Mandatory Function" Convert numeric, date/time, numeric string, and date/time string Variant values to the Single data type. Return True if the conversion was completed successfully. Return False otherwise.

Signature (Visual Basic / VBA)

Public Function FixUpVariantToSingleMandFn( _
    ByRef rArgument As Variant _
    ) As Boolean

Parameters

Parameter Description
rArgument The argument which is changed to a Single value, if possible. Function returns False if conversion was not possible, such as when the argument is out-of-range, missing, Null, an error, a pointer, or a non-numeric string.

Notes & Version History

Note rArgument is a passed by reference, so the variable passed from the calling function will likely be modified.