View Single Post
 
Old 04-19-2011, 05:22 PM
terry795 terry795 is offline Windows XP Office 2003
Novice
 
Join Date: Apr 2011
Posts: 6
terry795 is on a distinguished road
Default How do I get auto-updated "number of days since specified date" on MS word?

How do I get auto-updated "number of days since specified date" on MS word? In other words, I'd like to have this cell in my table autoupdate the interval of days between the date I specified and today's date. I know that there are several ways to do this. For example "fx=datedif(A1,today(),"d")" would work on Excel, but I am trying to find an alternative way.

MS visual basic? Found this online but don't know how to use it.
Sub dateFunctions4()
Debug.Print "The day part is: " & DatePart("d", Now)
End Sub

Macro's? Field codes? Help! Thanks.
Reply With Quote