Word Document Properties and Fields

Опубликовано: 04 Март 2026
на канале: LearnAccessByCrystal
21,274
118

Word Document Properties (Built-in and Custom) are a great way to substitute data in your document all over! ... in many places or just one.

When the value of a document property is changed, everywhere it is referenced also changes. No find and replace needed, just update the document!

To insert a document property into your Word document, use a DOCPROPERTY field. Add format codes to the data and any formatting you want to the resulting text.

This lesson covers these concepts and more:
Steps to change built-in document properties, How to show Word document properties in File Explorer, How to create custom properties, How to insert document properties using fields,
Entering format codes, Update fields, Toggle field codes, VBA code you can put into your Normal template to list the names and values of all the document properties in any Word document.

** download **

Download sample Word document, get VBA to list built-in and custom document properties, and read helpful information
https://msaccessgurus.com/VBA/Word_Do...

~~~
Quick Jump to spots in the video:
00:00 introduction
00:10 When the value of a document property is changed, everywhere it is referenced also changes.
00:54 There's lots of fields here, shaded in gray, with information coming from document properties.
01:01 To see document properties, go to File, Info
01:26 At the bottom of the list, click Show All Properties
01:42 Advanced Properties.
01:49 The Summary tab shows built-in properties.
01:57 The Custom tab shows properties that you define.
02:24 Property name, data type, and value
02:32 Modify a property
02:52 Make a new custom property
03:36 to insert a field, go to the Insert ribbon, then in the Text group, Quick Parts
04:22 DocProperty Field
05:05 Update Field
05:39 date format
06:14 change Field shading from Always to When selected in File, Options, Advanced, Show document content
06:50 customize Quick Access Toolbar (QAT) with the Insert Field command
07:34 Field Codes
08:55 download sample document from MsAccessGurus.com
10:24 Developer ribbon
10:51 Run macro
11:27 customize File Explorer to show built-in properties
12:14 Normal.dotm template
12:32 Unblock a file
12:40 list property names and values
12:46 insert DocProperty fields
13:16 Do you have information in a database that you want to insert into Word documents?
13:31 Get expert training
13:54 happy birthday

** reference **

Here's a good reference for Word Automation VBA
https://msaccessgurus.com/VBA/WordAut...

** related video **

Quick Access Toolbar (QAT) -- Customize and Share (Import/Export), Microsoft Access
   • Quick Access Toolbar (QAT) -- Customize an...  

♥♥♥ other Word videos ♥♥♥

Merge Data from Access into a Microsoft Word Letter (17m10)
   • Merge Data from Access into a Microsoft Wo...  

Word - Save your Table as a Template (9m21)
   • Word - Save your Table as a Template  

Figure Captions, Table of Figures in Microsoft Word (3m20)
   • Figure Captions, Table of Figures in Micro...  

Create Table from Text, to make a Table of Tables in Microsoft Word (3m50)
   • Create Table from Text, to make a Table of...  

** learn more **

Do you have information in a database (or should you?) that you want in a Word document? If you don't know Word well, there may be things you don't think of to do to make it easier. As many know, my specialty is Access ... and, for me, that includes being able to leverage anything Access can control.

Having a common VBA backbone makes integrating different applications easy. When there's a report too complex for Access to do well, or what you show really needs to look good, Word is the perfect tool.

I started using Word in the ole DOS days, and I love it. Word is great for the same reason that Access is ... lots of minds and hands when it was being conceived. Design is important.

~ slight digression into Access ...

If there's a basic structure for a document, but sections need to change (or maybe not include) depending on the scope, what better way to manage that than with a relational database management information system like Access?

Data doesn't have to be stored in Access. Access is the user interface. Access can link to data from many other places like SQL Server, Azure, Oracle, Excel, Outlook, ... and the list goes on and on ... anything that supports ODBC (Open DataBase Connectivity).

~~~
Share your comments, thank you

kind regards,
crystal

Remote Training and Programming
Let's connect and team-develop your application together. I teach you how to do it yourself.
https://msaccessgurus.com