Work out years from entered Date

S

Sue

Hi All

I have a userform with many text boxes that I input members names addresses
etc then when clicking the commandButton it all goes on to the "Members"
Sheet. I cannot work this one out -- say I have two TextBoxes == TB1 which I
enter the Date of Birth 27/11/1941 can TB2 automatically work out the number
of years = 65 not bothered about months and days. If so, then on clicking the
commandbutton that will also enter on the "Members" sheet.
 
S

ssGuru

Hi All

I have a userform with many text boxes that I input members names addresses
etc then when clicking the commandButton it all goes on to the "Members"
Sheet. I cannot work this one out -- say I have two TextBoxes == TB1 which I
enter the Date of Birth 27/11/1941 can TB2 automatically work out the number
of years = 65 not bothered about months and days. If so, then on clicking the
commandbutton that will also enter on the "Members" sheet.

=YEAR(Today())-YEAR(TB1)
Dennis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top