Yes, such a macro could be written. However:
1. it appears your documents are created by a process such as a mailmerge. If a mailmerge is being used, a macro-driven mailmerge could produce and name the documents in one go. For code to do that, see
Send Mailmerge Output to Individual Files in the
Mailmerge Tips and Tricks 'Sticky' thread:
https://www.msofficeforums.com/mail-...ps-tricks.html
2. if the above doesn't apply, we would need a copy of the actual table in a document for coding purposes. You can attach a document to a post via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.