Macro to Calculate Date 18 months from today

P

pamelamik

I need a macro that will calculate the date 18 months from today i
COBRA letters. Does anyone know how to accomplish this? Thank you i
advance for your help
 
S

Stefan Blom

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top