R
robertguy
Hi can any one help me please ?
What I am trying to achieve is when a macro button is pressed a messag
box prompts the user to input a date in the format DD/MM/YY.
This date must be validated as a date and not text or a number etc wit
the user being prompted to enter again if incorrect.
Next, another message box would display a message base on the formul
:-
=DATEDIF($B$1070,NOW(),"y")&" years, "&DATEDIF($B$1070,NOW(),"ym")&
months, "&DATEDIF($B$1070,NOW(),"md")&" days"
which would calculate and display the difference in dates in the forma
i.e. Todays date – input date :-
e.g. 2 years, 3 months, 6 days
Many thanks
Ro
What I am trying to achieve is when a macro button is pressed a messag
box prompts the user to input a date in the format DD/MM/YY.
This date must be validated as a date and not text or a number etc wit
the user being prompted to enter again if incorrect.
Next, another message box would display a message base on the formul
:-
=DATEDIF($B$1070,NOW(),"y")&" years, "&DATEDIF($B$1070,NOW(),"ym")&
months, "&DATEDIF($B$1070,NOW(),"md")&" days"
which would calculate and display the difference in dates in the forma
i.e. Todays date – input date :-
e.g. 2 years, 3 months, 6 days
Many thanks
Ro