Run macro AFTER xml transformation complete

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top