Calculate a Person's Age Using DateSerial Function
Category:
Dates and MathType:
SnippetsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: Visual Basic 5
More information:
An alternative to the other age function on the site. This one requires less code, though the other one is a bit more sophisticated in terms of raising errors and in that it allows you to specify a RelativeTo date.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: