J
Joe Zapert
I'm using Office Accounting 2007 to output some documents (invoices) to Word
('07). Office Accounting does this using Word document 'templates' with an
XML Expansion Pack attached. The XML fields are on the template document,
and when OA exports an invoice, a new word document is generated with the
XML fields replaced by the appropriate Office Accounting data.
Bear with me, as I have no understanding of the way XML works in this
process, heh. (It just looks like crazy-complicated mail merge to me.) What
I'm trying to do is add a macro to the template document that will run AFTER
the fields have been populated.
Thus far, I've been able to get a macro to run BEFORE the fields have been
populated by using sub AutoNew(). However, the macro needs to use some of
the data from the fields to do its job.
Thanks!!!
Joe
('07). Office Accounting does this using Word document 'templates' with an
XML Expansion Pack attached. The XML fields are on the template document,
and when OA exports an invoice, a new word document is generated with the
XML fields replaced by the appropriate Office Accounting data.
Bear with me, as I have no understanding of the way XML works in this
process, heh. (It just looks like crazy-complicated mail merge to me.) What
I'm trying to do is add a macro to the template document that will run AFTER
the fields have been populated.
Thus far, I've been able to get a macro to run BEFORE the fields have been
populated by using sub AutoNew(). However, the macro needs to use some of
the data from the fields to do its job.
Thanks!!!
Joe