Office2007怎样设置下拉菜单
发布时间:2017-03-17 11:19
在我们使用office2007办公软件的过程中,常常需要输入一些固定的词语,比如说,性别的“男女”以及进行判断的:“是否”等。既然是常用词,为什么不设置一个下拉菜单,当需要用到该词的时候,直接选择下拉菜单就可以调用呢?以下是小编给大家整理的Office2007设置下拉菜单的方法,希望能帮到你!
打开word文档,进入主界面。如图:

点击左上方主菜单(office按钮),点击word选项。如图

在常用选项卡中,勾选,在功能区显示“开发工具”选项卡,点击确定。如图

进入开发工具选项卡,在控件中,点击旧式窗体,选择组合框(ActiveX 控件),如图

选中该控件右击,选择“复选框”对象-编辑,如图

添加属性,输入(如性别:男),如图:

右键单击-查看代码或双击进入进行代码编写,添加代码:ComboBox21.AddItem(“女”):,点击运行-子过程运行/用户窗体

大功告成啦,如图

Office2007怎样设置下拉菜单的评论条评论