Function Fix Ups Class

FixUpVariantToCurrencyMandFn

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

Signature (Visual Basic / VBA)

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

Parameters

Parameter Description
rArgument The argument which is changed to a Currency 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.