From: George Lee on
How do you write VBA to create a complex field code, something like having
fields within fields. For example:

{
IF { CREATEDATE \@ “yyyy”} = { DATE \@ “yyyy”}
"Created this year by { WhichMegaCorporation}.”
"Created some other time.”
}

From: Jay Freedman on
See http://www.word.mvps.org/FAQs/MacrosVBA/NestedFieldsWithVBA.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

George Lee wrote:
> How do you write VBA to create a complex field code, something like
> having fields within fields. For example:
>
> {
> IF { CREATEDATE \@ "yyyy"} = { DATE \@ "yyyy"}
> "Created this year by { WhichMegaCorporation}."
> "Created some other time."
> }