
Private Sub cmdDocs_Click()
ActiveDocument.Range.Select
Selection.TypeText Text:="Note!"
Selection.Collapse wdCollapseEnd
Selection.TypeParagraph
Selection.TypeText Me.txtLanguage.Value
Protect
End
End Sub
Note: This example was very simple in the fact that the resultant
document incorporated only the text that was in the main text box.
If you incorporate this technique, you will probably want to use it in
conjunction with a template that incorporates Word fields to enter
the language into the document. This way you could keep the tem-
plate’s boilerplate language free from modification, and allow a
user to modify only the language that you give them access ...