![what is document properties word 2016 what is document properties word 2016](https://www.lifewire.com/thmb/zl51Fg3orFwTRwUvG0_XmuYviMo=/1568x1036/filters:no_upscale():max_bytes(150000):strip_icc()/005-removing-personal-information-word-documents-3540201-7d68d32e8c924a5fac820fbc608b9bae.jpg)
The code I posted caters both for the creation and updating of the variable. In the Categories list, choose Document Information. Click the Quick Parts tool in the Text group and then choose Field. Where SomeVariable is the variable name and 3 is its value (which could also be a text string).Īlthough it's possible to both create and give a value to a Document Variable in one go, using code like: To insert the document title into your document, follow these steps: Position the insertion point where you want the title to appear. You'd then call the above with code like:
WHAT IS DOCUMENT PROPERTIES WORD 2016 SOFTWARE
Watch more than 100 other writing-related software tutorials on my YouTube channel.
![what is document properties word 2016 what is document properties word 2016](https://derpicdn.net/img/2019/12/28/2231725/rendered.png)
This tutorial is available as a YouTube video showing all the steps in real time. Sub SetDocVar(StrVar As String, Val As String) These steps also apply to Word 2021, Word 2019, Word 2016, and Word 2013. Stop Protection from Restrict Editing Menu to Unlock Selection.Use the Edit Anyway Feature to Unlock Selection.Use A Product Key to Activate Microsoft Word 2016. Once an AIP label is applied, it is stored in clear-text in a document’s properties under the ‘sensitivity’ property for Word, Excel, and PowerPoint files (image) and in the email header on an email.
WHAT IS DOCUMENT PROPERTIES WORD 2016 UPDATE
For example, to create and/or update a Document Variable, you might use code like: Sensitivity is a property automatically added to any list/library in SharePoint, however an AIP label value will not populate this column.
![what is document properties word 2016 what is document properties word 2016](https://helpdeskgeek.com/wp-content/pictures/2011/02/04_selecting_advanced_properties_on_panel_2010.png)
A custom property fits the bill quite nicely for this purpose. For instance, you may have a company-assigned document number that needs to be stored with a document. You could store the variable in a Document Variable or a Custom Document Property and have the IF field test that. Custom document properties are a great way to store unique information that is associated with a document.