DD> Would you happen to know if there is any way to insert
DD> calculated dates, without using macros? Say I would
DD> like to create a document with two variable dates
DD> (=fields): "today" and "today+90 days" (e.g. this
DD> document is delivered at date "today" and expires at
DD> date "90 days from today").
DD> The "today" part one is easy, but can the other one be
DD> done without a macro?
That'd be tricky. The problem is, Word 6.0 (and 7.0) introduced a macro
variable that can turn a date into a number, and then you can add numbers of
days to that number, and turn it back into a useful date.
Unfortunately, the field codes don't have that date format, so you can't
perform addition upon dates in a field code. The best thing I can suggest is
that you create a macro that treats "today" as a bookmark, and uses a field
code to perform a macro that generates the "today+90 days" as a result of
executing the macro.
--- Sirius 1.0ya
---------------
* Origin: Beth's Point: Minneapolis, MN (1:282/26.5)
|