News

We’ll be using Word in the examples, but you can also apply the same code to an Excel file. SEE: 83 Excel tips every user should master (TechRepublic) The demonstration file uses Word fields.
Click the "Insert" tab on the Word ribbon. Click "Quick Parts" in the Text group. Click "Field" to open the Field dialog box. Click "FileName" from the "Field Names" list.