You can use the code below to do what you want:
ActiveDocument.FormFields("myDate").Result = _
Format((Date + 7), "m/d/yy")
To test the above code...add a TextBox form field into a document.
Double click the form field and set the bookmark name to myDate. Then
run this code. This will insert the date 7 days from now into the form
field.
If you are using a date field now, just remove that and insert a form
field and use the code as needed...modifying the + 7 to whatever
advanced days you need and "m/d/yy" to whatever format you want.
You can also do this with a bookmarked location. Insert a bookmark
where the date should go...then run your code. However, in that case
(if you use a bookmark), you'll need to use this version of the code,
since it's no longer a form field...
Selection.GoTo What:=wdGoToBookmark, Name:="myDate"
Selection.InsertAfter Format((Date + 7), "m/d/yy")
Note...for more info on Forms creation...see this link:
Word AutoForm Articles
http://www.mousetrax.com/techpage.html#autoforms
Dian D. Chapman, Technical Consultant
Microsoft MVP, MOS Certified
Editor/TechTrax Ezine
Free MS Tutorials:
http://www.mousetrax.com/techtrax
Free Word eBook:
http://www.mousetrax.com/books.html
Optimize your business docs:
http://www.mousetrax.com/consulting
Learn VBA the easy way:
http://www.mousetrax.com/techcourses.html