![]() Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. If so, what you have is a document containing Content Controls. ObjCC.SetPlaceholderText, , "Select your favorite animal "ĬontentControl Object Support and feedback Set objCC = (wdContentControlDropdownList) The following example inserts a new drop-down list content control into the active document, sets the title and placeholder text, and then inserts several new items into the list. If all parameters are omitted, the placeholder text is blank. For Word 2010/2013 users, right click anywhere in the ribbon, select 'Customize the Ribbon,' in the right hand panel, check 'Developer. If more than one parameter is used, Microsoft Word uses the text specified in the first parameter. For Word 2010/2013 users, right click anywhere in the ribbon, select 'Customize the Ribbon,' in the right hand panel, check 'Developer.' Place cursor at the desired target fill-in location in the form. Only one of the parameters is used when specifying placeholder text. ![]() Specifies the contents of the placeholder text. Specifies a Range object that contains the contents of the placeholder text. Specifies a BuildingBlock object that contains the contents of the placeholder text. SetPlaceholderText( _BuildingBlock_, _Range_, _Text_ )Įxpression An expression that returns a ContentControl object. ![]() Sets the placeholder text that displays in the content control until a user enters their own text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |