[VBA函数]:自动生成命令来自动加载及执行VBA程序
(defun AutoVBALoad (cmdname project macro)(eval
(list 'defun
(read (strcat "C:" cmdname))
nil
(list
'vl-vbarun
(strcat
project
"!"
(if macro
macro
cmdname
)
)
)
(princ)
)
)
) 以前在明经看过此程序,楼主应加[转帖]二字比较妥当! 小弟新来,谢谢大哥提醒
页:
[1]