![]() Returns the number of items in the ContentControls collection. If omitted, Word places the content control at the position of the insertion point or replaces the current selection. (Range) - Specifies where in the active document to place the content control. ![]() Here you can find possible values for WdContentControlType If omitted, Microsoft Word inserts a rich-text content control. (WdContentControlType) - Specifies the type of content control to insert into the active document. ObjCC.SetPlaceholderText, , "Select your favorite animal " Set objCC = (wdContentControlDropdownList) In this case, you can either move the insertion point or use the Range parameter to specify a location within the document. If the insertion point or current selection is inside a content control of a different type, this method raises an error. You can nest content controls only within rich-text content controls, building block gallery content controls, and group content controls. Here is an example of processing the ContentControls items in a collection.įor Each ccl In Īdds a new content control, of the type specified, into the active document and returns a ContentControl object that represents the new content control. ![]() To use a ContentControls class variable it first needs to be instantiated, for example Individual content controls may contain content such as dates, lists, or paragraphs of formatted text. Content controls are bounded and potentially labeled regions in a document that serve as containers for specific types of content.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |