How do I add two weeks to the current date in word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to add two weeks to the current date and place that date in a word
document.
 
You can use the DateAdd() function in a macro

Selection.InsertBefore Format(DateAdd("d", 20, Date), "MMMM d, yyyy")

Or, Macropod will probably come along and say:

To see how to do this and just about everything else you might want to do
with dates in Word, check out the topic 'Add Or Subtract Two Time Periods'
in my Date Calc 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=249902



--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
Hi Doug,

Actually I wouldn't recommend using 'Add Or Subtract Two Time Periods' -
'Calculate a day, date, month and year, using n (301) days delay' would be
more appropriate. I'd also suggest the OP changes the 301 delay value to 14,
and read the intro on formatting the output.

Cheers
 

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

Back
Top