几何尺寸与公差论坛

 找回密码
 注册
查看: 619|回复: 0

【转帖】adding a control button to a macro

[复制链接]
发表于 2009-4-13 08:47:08 | 显示全部楼层 |阅读模式
adding a control button to a macro
hi,
i have created a simple marco to save an open drawing to a pdf in a certain directory. it works well. i would now like to have a button, preferably on my toolbar, to run this macro.
is there a simple way to do this? for example, in excel you can just use the control toolbox to add a button an assign the macro to the click event.
any help would be greatly appreciated. again, i am looking to run a macro in a drawing with one click.
thanks,
jon
yep, just like that. go to view, toolbars, customize and look in the macro toolbar section, there is a macro button that you can drag onto any toolbar and configure it.
answer thanks,
found it under customize, commands, macro. i also realized that there is a pretty good help file on it in the api help.
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 02:56 , Processed in 0.035028 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表