DB Precision allows for the insertion of tables by inserting a Word Bookmark into a document and then referencing that Bookmark within a plan's Export Definition.
Within DB Precision, users have options for customizing table display. However, for additional cusomization, macros can be used.
However, if that export is run and not stored in the archive, the macro will only be run once for the first participant (when the document is opened) and not run again. While this is fine when running an export for an individual, it can be a problem when running an export for a group (such as when running benefit statements).
To have Word run a macro separately for each record, the following must be done:
In order to manipulate a table's display, a user must first be able to reference the Bookmark's table. For a bookmark named "MyBookmark", the following could be used:
ActiveDocument.Bookmarks("MyBookmark").Range.Tables(1)
With the table referenced, user's can manipulate different components of the tables. The following are examples of different formatting options: