On the document property window I created a custom variable named "DIRMOD".
I'm trying to get the value in it in VBA, but I get a object required error using the following sintax:
Dim als As String
als = ActiveDocument.CustomDocumentProperties("DIRMOD"). Value
What is the correct sintax to get a custom document property value?