Option Explicit
Function yourage(birthday As Data) As Integeryourage = (Now - birthday) \ 365End FunctionPrivate Sub Form_load()Dim intage As Integerintage = yourage(#10/26/1982#)Print intageEnd Sub