Quote:
Originally Posted by gmaxey
The forum is full of examples of batch processing files. For the dropdown piece, it would probably be easier to just clear the existing list and fill it with a new list. The following code assumes a content control named "Job Title" and a formfield bookmarked "JobTitle" the contents of each are cleared and filled with a new list.
Just pass your document to process to the macro.
HTML Code:
Sub RefillDD(oDoc As Word.Document)
...
End Sub
|
tried this code however, i am getting a 'runtime error 424' and highlighting
lngPT = oDoc.ProtectionType.
can anyone assist.