Oliver Dewar
Board Regular
- Joined
- Apr 17, 2011
- Messages
- 201
Hi All,
Trying to calculate age in years in VBA.
I'm using this:
Where textbox72.value is a date that the user enters.
The problem: I get a "Sub or function not defined" error.
What am I doing wrong?
Trying to calculate age in years in VBA.
I'm using this:
Code:
Label10.Caption = DATEDIF(TextBox72.Value, Date, "y")
Where textbox72.value is a date that the user enters.
The problem: I get a "Sub or function not defined" error.
What am I doing wrong?