Signature (Visual Basic / VBA)
Public Function Checksum16( _
ByVal vValue As Variant _
) As Variant
Code Example
Checksum16("A") = 65
Checksum16("ABCD") = 266
Checksum16("BADC") = 266
Parameters
| Parameter | Description |
|---|---|
| vValue | String containing the characters whose ASCII values are to be added together. Function returns Null if vValue is Null or cannot be fixed up to a String. |
Notes & Version History
| Note | Function currently only works for characters whose ASCII value is between 0 and 255, so it does NOT support UNICODE. |