Insert Button into Word Document

我是研究僧i 提交于 2019-12-23 02:56:18

问题


Is it possible to insert a button into a word document and call as macro on click of this button. Please let me know if you have any similar ideas and also the procedure to do it.


回答1:


You'll need to use VBA to do this, but it's pretty straight-forward.

There's an MS knowledge base article that describes exactly what you want to do.




回答2:


It is possible to insert a Command button (as well as some other contorl like radio button etc) in Word Document. Click on the Toolbar and enable Visual basic. You will get all control boxes, Select the Command Button. You can wirte the code into in the VBA script. This will get executed on click of the Command Button.



来源:https://stackoverflow.com/questions/519737/insert-button-into-word-document

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!