The content can be displayed on the document surface using the DocProperty field. These are similar to Document Variables, but can be see and edited by the user in the Document Properties dialog box. In the object model: ActiveDocument.Variables("name").Value = "text" The content of a Document Variable can be displayed on the document surface by inserting a DocVariable field that references the Variable name. These are a string storage inside the Word document that's not visible to nor editable by the user, so are useful for information that should be retained in the document. In addition to the possibilities Mort mentions, Word also provides
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |