Write the letter and add custom fields.Key objects that I have needed to handle include: Object Parent Object Contents You could study the Word Object Model, which you can find in the VBA Help file. Anatomy of a Word Document When you are editing a Word document with VBA, it can be important to understand the different parts-objects-and how to deal with them.The double backslashes in the file path are needed because Word interprets a single backslash as a. A FILENAME field will look like: to insert the document's path and filename into the text. Next, press Alt-F9 to reveal your document's field codes. First off, insert a FILENAME field, with the path switch (see under Insert|Field or Insert|Quick Parts|Field ), anywhere in your document.