Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Suppose:
Dim odate as String odate = "8/7/06 1:30 AM" How do I get the number of days between Now and odate? Many Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim numDays as Long
Dim odate as String odate = "8/7/06 1:30 AM" numDays = date - int(cdate(odate)) -- Regards, Tom Ogilvy wrote in message ups.com... Suppose: Dim odate as String odate = "8/7/06 1:30 AM" How do I get the number of days between Now and odate? Many Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
MsgBox DateDiff("d", DateValue(odate), Now())
" wrote: Suppose: Dim odate as String odate = "8/7/06 1:30 AM" How do I get the number of days between Now and odate? Many Thanks. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks guys.
That knocked it out. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Difference betwen Excel Date () Function and System Date | Excel Worksheet Functions | |||
Difference System date and Excel Date function | Excel Worksheet Functions | |||
Difference between last date of month and given date | Excel Worksheet Functions | |||
Calculating Difference Between Start Date & Time And End Date & Ti | Excel Discussion (Misc queries) | |||
Date Difference | Excel Programming |