[讨论][求助]如何在菜单项中调用过程?
***POP16<BR>**EDIT<BR>ID_MnEdit [线切割(&E)]ID_Redo [重做(&R)\tCtrl+Y]^C^C_mredo 1<BR> [--]<BR>ID_Cutclip [剪切(&T)\tCtrl+X]^C^C_cutclip<BR>ID_Copyclip [复制(&C)\tCtrl+C]^C^C_copyclip
此时,假设我有三个过程,分别是sub a(),sub b() sub c()
我要让菜单项“重做”调用sub a()
“剪切”调用sub b()
“复制”调用sub c()
那么我要如何去实现他呢? (command "-vbarun" "a") 对,还要建立一个LSP程序.
(defun c:XXX()
(command "-vbarun(文件路径)" "a(宏)")
) to:<A name=40382><FONT color=#990000><B>lzh741206</B></FONT></A>,,,,我的过程不是一般的子过程,而是UserForm_Initialize,请问怎么运行啊?
(command "vbaload" "ss.dvb") <BR>(command "vbarun" "UserForm_Initialize")
运行结果显示:::::未找到宏。请帮忙,谢谢.
页:
[1]