How do you know where to insert the fields using a program? I guess you could use exact coordinates, but if a table size is increased, the whole document would shift. (I have not investigated other ways to do this)
Having the fields pre-placed for me is handy for this issue, and likely any revision to this document will have the same fields, so it would be a minimal, if any, rework to the code, most likely case would be I would have to change index values.
I was able to replace the insert fields with text as it runs through, which gradually speeds it up, but my ending product has to be a protected document with data entry fields.
I also thought maybe I can just, at the start of my run, remove the SUM from the offending fields, then manually insert the totals and when I am done, put the SUM back. I am not sure how to do this yet but we already have a similar interface into word that lets you drop a date formula (like Crystal reports, but for end users) and when you do, it asks and places that format on the document, ready for merging (like a fake mail merge, mostly done with Find & Replace).
I think I will try this when I get back to work on Monday.
Still, if you have other suggestions... Wish I could forward you the document to try for yourself.