Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sue Sue is offline
external usenet poster
 
Posts: 285
Default Work out years from entered Date

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.
--
Many Thanks

Sue
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Work out years from entered Date

On Jul 6, 12:22 pm, Sue wrote:
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.
--
Many Thanks

Sue


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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calc. an anniversary date(50 years) after marriage date in excel datakop Excel Worksheet Functions 3 January 4th 10 11:03 PM
how do I work out age in years, months, days in excel Tru Colours Excel Discussion (Misc queries) 1 November 11th 09 08:01 AM
Formula doesn't work this morning, but worked for 2 years now Rhop Excel Worksheet Functions 1 October 11th 06 01:54 PM
Changing dates entered in 2005 to previous years lucy Excel Worksheet Functions 8 August 27th 05 03:17 AM
formula doesn't work until cell is re-entered Don Guillett[_4_] Excel Programming 0 July 24th 03 06:48 PM


All times are GMT +1. The time now is 09:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"