In relation to your cuestion, in our aplication we work in this way: we open the document with a template which has a macro code with a tool bar that insert fields in the document created by the customer. This documents that the clients can create have no macro.
The code is:
Code:
If vgFichSO.ExisteArchivo(wTemplate) Then
Set wWord = CreateObject("Word.Application")
With wWord
.Documents.Open (wDocument)
.Visible = True
.Activedocument.AttachedTemplate = wTemplate
End With
Set wWord = Nothing
Else
MsgBox "Template not Foun."
End If
This allow that the fields insertion can be done from Word and not from our aplication. The documents viewfinder is Word, which also inserts the fields through the macro.
In this way, we don′t need neither to create a viewfinder nor a code aplication for insert fields.
If you know another way to do this, we wold be grateful if you tell it to us.