CULng Function

Syntax              CULng(expr)

Group                Conversion

Description       Convert to a ULong. If expr is too big (or too small) to fit then an overflow error occurs.

VBA                   This language element is not VBA compatible and requires the #Language "WWB-COM" setting.

Parameter         Description

expr                    Convert a number or string value to a ULong.

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print CULng(1.6) ' 2
EndSub