andybone 发表于 2022-7-8 12:16:52

Calling VBA using .PGP file.

Hi,

I am trying to edit my PGP file to call VBA functions.Is this even possible?If so how do I do it?
I have tried things like WH, *vbastmt WhereAmI but this does not work.
Any help would be greatly appreciated.

Thanks

rkmcswain 发表于 2022-7-8 13:23:20

Just use a lisp call in your "acaddoc.lsp" file.
 
Example:

(defun c:WH () (vl-vbarun "myfile.dvb!my.functionname"))
页: [1]
查看完整版本: Calling VBA using .PGP file.