View Single Post
 
Old 05-18-2014, 10:49 AM
Hdata Hdata is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Jan 2014
Posts: 26
Hdata is on a distinguished road
Default

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?
Reply With Quote