![]() ![]() ![]() With the VBE open, press Ctrl+r to display the Project Explorer then look for and expand the project. The VBA project can be accessed by pressing ALT+F3 to open the Visual Basic Editor (VBE). These include fields, document variables, bookmarks, table cells, formfields, content controls, and ActiveX controls. For example: Word: (all the placeholders are written here using << > and the IF statement is written using the field option from Insert -> QuickParts-> Field) Firm’s Full Legal Name, Include Any.Individual content controls can contain content such as dates, lists, or paragraphs of formatted text. Note: "Content ranges" refers to the target, or holder, of the conditional content displayed in the document. I wish to add check - boxes and use if else statements to either check the boxes or leave them blank according to the value of that particular data. Content controls are Microsoft Word entities that act as containers for specific content in a document. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any image, link, or discussion of nudity. Working with the demonstration documentsĮach of the demonstration documents contain a VBA code module and one or more "content ranges." Any content of an adult theme or inappropriate to a community web site. You can download the documents here or using the link at the end of this tips page. Linking MethodsĮach of the methods for the four types of list controls is demonstrated and fully described in a four part series of demonstration documents. When considering which method is best (if any) to employ in your document design, you should keep the document user and his/her limitations and restrictions in mind. Protected formfield (legacy) dropdown listĪll of the methods except one of the formfield methods requires some VBA (macro) to run.This tips page provides multiple methods for linking conditional content to the following list control types: It is completely useless if the document user is limited to Word 2003 (and lower) or not permitted to enable and run macros! The text content control might be titled Output. The dropdowns would be titled State and Category, with contents corresponding to your List 1 & List 2, respectively. If you, as the document designer, have access to Word 2007 or higher it could work for you. In that case, you might consider using three content controls - two dropdowns and one text one. The video illustrates an advanced method using a content control dropdown list and two plain text content controls "content ranges" to display the conditional content. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |