Word2013如何制作按钮控件
发布时间:2017-03-06 17:27
相关话题
在我们使用excel的时候,会经常使用到按钮控件,但是如何制作呢。下面随小编一起看看吧。
Word2013制作按钮控件的步骤
①由于“开发工具”不经常用,所以在功能选项面板中没有“开发工具”这一栏。所我们需要设置。在功能选项面板中选择“文件”,在跳转出来的版面中选择“选项”。

②在“Word选项”面板中选择“自定义功能区”,在右侧“自定义功能区”标签下,勾选“开发工具”。

③这样,在功能选项面板中就可以看到“开发工具”一栏了。单击“开发工具”—“旧式工具”—Activex控件标签下的“按钮”。

④确定后空白区自动显示一个按钮,单击属性,更改“Caption”名称(随个人想法设置,这栏显示的是按钮名称),然后双击“Caption”。

⑤在跳出来的代码编辑窗口中输入
Private Sub CommandButton1_Click()
MsgBox "欢迎来到word联盟"(引号内容为点击按钮后显示的内容)
End Sub

⑥完成后,关闭代码窗口。回到word界面,点击“设计模式”,这就关闭了“设计模式”。

⑦操作完成,点击按钮,就可以看到自动跳出一个另一个窗口。

关于Word2013按钮的相关文章推荐:
1.怎么在Word2013中制作按钮控件
2.word2013怎么制作下拉选择按钮
3.word2013怎么插入单选按钮
Word2013如何制作按钮控件的评论条评论