The relevant VBA code to generate this field at the end of the active document: Dim doc as Word.DocumentÄoc.Fields.Add rng,, "IncludeText " & Chr(34) & "C:\\Test\\TestFormsProtection. Note that there is no reliable (sometimes it might work, but other times not) way to use relative file paths with Word field codes. This creates an IncludeText field in the document that references the file path to the source document and the bookmark content: in the dialog box click the Range button, type in the bookmark name.In Word, in the target document, go to Insert->Object->Text from file.The content of a legacy form field textbox will not come through. Start with a blank Microsoft Word document, go to the Insert tab on the Ribbon. Repeat text in Ms Word with document property fields To keep it simple, lets see a readily-available option in Word for repeating certain text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |