New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
Dim dt1, dt2 As Date dt1 = DOB dt2 = now Dim Months As Long Dim Diff As Long = DateDiff(DateInterval.Month, dt1, dt2) Dim Years As Long = Diff \ 12 Months = Diff - Years * 12 formatAge = Years & " y " & Months & " m "
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.