"Peter Jamieson" wrote:
As far as I know, defined() expects a numeric argument
and is really there
to trap divide-by-0 and overflow errors, not "exists"
type errors.
I don't think there is a field that will usefully tell
you whether a
particular mergefield name is valid or not - you would
probably have to use
VBA prior to the merge to do that.
Peter Jamieson
Thank you for this clarification.
Regards,
Monika.
|