M
macropod
Hi Bruno,
You could do this with fields, but it would be a lot of work.
Firstly, you can't reference dates in table cells. When you do so Word tries
to do math on them (i.e. dividing the numbers for dates in d/m/y format,
subtracting for dates in d-m-y format and adding for dates in d m y format).
So, to overcome that, you'd have to bookmark each date individually, then
use the bookmark references in your formula.
Secondly, the formula itself would have to test the dates in ISO format
(i.e. yyyymmdd) to do the comparison, then express then result in whatever
format you want.
Thus you'll end up with something like:
{=MAX({BkMrk1 \@ yyyymmdd},{BkMrk2 \@ yyyymmdd},{BkMrk3 \@ yyyymmdd}) \@ "dd
MMMM yyyy"}
Cheers
You could do this with fields, but it would be a lot of work.
Firstly, you can't reference dates in table cells. When you do so Word tries
to do math on them (i.e. dividing the numbers for dates in d/m/y format,
subtracting for dates in d-m-y format and adding for dates in d m y format).
So, to overcome that, you'd have to bookmark each date individually, then
use the bookmark references in your formula.
Secondly, the formula itself would have to test the dates in ISO format
(i.e. yyyymmdd) to do the comparison, then express then result in whatever
format you want.
Thus you'll end up with something like:
{=MAX({BkMrk1 \@ yyyymmdd},{BkMrk2 \@ yyyymmdd},{BkMrk3 \@ yyyymmdd}) \@ "dd
MMMM yyyy"}
Cheers