--
Eddie Griffiths
Invercargill
New Zealand
E-Mail: edg...@clear.net.nz
Homepage: http://www.geocities.com/MotorCity/Garage/7286/
ICQ-Page Address: http://wwp.mirabilis.com/10486128
ICQ# 10486128
Araxes Tharsis wrote in message <78372h$108$1...@duke.telepac.pt>...
>I think you will find that the Analysis ToolPak will help - make sure it is
>added (tools addins - unless they've moved it since Excel 95!!) - DateDiff
>(I think) was a function within this. IF it has gone, YEARFRAC is still
>there - if you use INT(YEARFRAC(day1,day2)) you will get the whole number
>result you want... if you want the days and months etc, remove the INT part!
The worksheet function is DATEDIF (only 1 F), and it's part of Excel proper.
You don't need the ATP to use it. OTOH, VBA does have a DateDiff (2 F's)
function.
--
Myrna Larson
e-mail to: myrna...@csi.com
Any help would be GREATLY appreciated.
--Ed