Page 1 of 1

define function

Posted: Wed Nov 09, 2005 10:45 am
by gsprink
Anyone know how to use the DefineFunction method? I would like to define a new function for ICAD so users can use enter or right click to re-call a VBA routine...

Posted: Thu Nov 10, 2005 11:30 am
by John Finlay
gsprink

I just use lisp:

^C^C^C(defun c:IsoStuff() (command "-vbarun" "modIso.IsoForm"));IsoStuff;

This is what I have used in my toolbar command to run and recall IsoForm.

------------------
Regards
John Finlay

Posted: Tue Nov 15, 2005 11:58 pm
by gsprink
Thanks for the reply. There seems to be some conflict with lisp and all my vba routines. I have done it the way you described butI receive an error after the 3rd or 4th call. Then I have to exit ICAD completely and then restart it. If I could create commands in VBA I wouldn't have this conflict

Thank You