Quote:
Originally Posted by bjh894
Charles... Thank you for your help. I've read through your document several times and unfortunately, I'm not savvy enough with the underbelly of the language or the functionality of Word and was unable to figure this out. I am grateful for your assistance.
|
It has been a while since I've looked at this.
- Download the tutorial document and open it. Be sure to read through the introductory material.
- Find a field that looks like it does what you want. Select that field and press Alt+F9 to toggle display of field codes. You will jump in the document because it will become longer. Press your right or left arrow key to come back to your page.
- Look for a set Delay command or something similar. That is the number of days. You can modify that. Look to see where it is getting its original date. That is generally some sort of bookmark or one of the date fields.
- Remember to press Alt+F9 again when you are done looking at or modifying any fields.
The field I am looking at is:
{QUOTE{SET Delay 14}{SET a{=INT((14-{DATE \@ M})/12)}}{SET b{={DATE \@ yyyy}+4800-a}}{SET c{={DATE \@ M}+12*a-3}}{SET d{DATE \@ d}}{SET jd{=d+INT((153*c+2)/5)+365*b+INT(b/4)-INT(b/100)+INT(b/400)-32045+Delay}}{SET e{=INT((4*(jd+32044)+3)/146097)}}{SET f{=jd+32044-INT(146097*e/4)}}{SET g{=INT((4*f+3)/1461)}}{SET h{=f-INT(1461*g/4)}}{SET i{=INT((5*h+2)/153)}}{SET dd{=h-INT((153*i+2)/5)+1}}{SET mm{=i+3-12*INT(i/10)}}{SET yy{=100*e+g-4800+INT(i/10)}}"{dd}-{mm}-{yy}" \@ "dddd, d MMMM yyyy"}
Again, read the introductory material, do not try to type this thing. You want to copy a field from the page as a whole and modify it.
Change Delay to 30 from 14. That will give you a Date 30 days from the current date. If you change later on "+Delay" to "-Delay" it will give you 30 days before the current date.