Following along on Genealogy Seminar Lesson 04 time 16:00 on Public Function CalculateAge(d1 as date, d2 as date) as long CalculateAge = CalculateAge = DateDiff("yyyy", d1, d2) + (DateSerial(Year(d2), Month(d1, Day(d1)) > d2) First error said expected: ) so I added another ) at the end because I couldn't find a missing one. Then I get this error: Compile error: wrong number of arguments or invalid property assignment and it takes me to the public function calculateage mentioned above. Please help. Thank you in advance.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Genealogy Seminar.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.