I first posted my question above regarding Document Properties, and you correctly indicated how to add that I would get an error if the Custom Document Property did not exist.
OK, what about DocVariable field. Can I add a DOCVariable field to a document programmatically with VBA if the field does not previously exist? Using the ActiveDocument.Fields.Add Range:=Selection.Range?
|