Office2007 How to set the Drop-down menu

Source: Internet
Author: User

In the process of using office2007 Office software, we often need to enter some fixed words, such as sex of "men and women" and the judgment: "Whether" and so on. Since it is a commonly used word, why not set a Drop-down menu, when you need to use the word, directly select the Drop-down menu can be called? below, the small set to bring you office2007 settings Drop-down menu method.

Open the Word document and enter the main interface. As shown in figure


Click on the top left main Menu (Office Button) and click on the word option. As shown in figure


In the Common tab, check to display the Developer tab in the Ribbon and click OK. As shown in figure


Into the Developer tab, in the control, click on the Legacy form and select the combo box (ActiveX control), as shown in


Select the control right click, select the check box Object-Edit, as shown


Add attributes, input (such as sex: male), as shown


。 Right-click-View Code or double-click enter for code writing, add code: Combobox21.additem ("female"):, click Run-sub process run/user form


It's done, figure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.