Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Macro to Calculate Date 18 months from today
I need a macro that will calculate the date 18 months from today in COBRA letters. Does anyone know how to accomplish this? Thank you in advance for your help.
|
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro to Calculate Date 18 months from today
Here's an example:
Sub AddDateMonthsLater() Dim x As String x = Format$(DateAdd("m", 18, Now()), "mmm d yyyy") MsgBox x End Sub Of course, the code needs adjusting to what you actually want to do with the result... -- Stefan Blom Microsoft Word MVP "pamelamik" wrote in message news I need a macro that will calculate the date 18 months from today in COBRA letters. Does anyone know how to accomplish this? Thank you in advance for your help. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA macro - Mailmerge date - for today and for history | Mailmerge | |||
macro to calculate a date in the future | Microsoft Word Help | |||
Word 2002: Macro w/today's date - update date automatically | Microsoft Word Help | |||
In Word 2002 can I calculate a future date (Today + 7 days) | Microsoft Word Help | |||
Can I calculate a merged date field based on today plus # of days | Tables |