Results 1 to 3 of 3

Thread: How to insert AutoLisp code in VBA?

  1. #1
    Member
    Join Date
    2020-07
    Posts
    14
    Login to Give a bone
    0

    Default How to insert AutoLisp code in VBA?

    Hello Everyone.

    Please tell me how to insert AutoLisp code in VBA?



    Thank you.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,397
    Login to Give a bone
    0

    Default Re: How to insert AutoLisp code in VBA?

    You can't just insert lisp code. It requires it's own interpreter. Can you be more specific on what you are trying to do?
    C:> ED WORKING....

  3. #3
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    555
    Login to Give a bone
    0

    Default Re: How to insert AutoLisp code in VBA?

    You can load Lisp and run, likewise lisp can run VBA

    Code:
    (defun C:driveway ()
    (vl-vbaload "P:/AutoDESK/VBA/acces-rev2.dvb") 
    (vl-vbarun "draw_vehicle")
    )

Similar Threads

  1. Help interpreting autolisp code
    By ae1329 in forum AutoLISP
    Replies: 4
    Last Post: 2012-09-15, 05:21 PM
  2. Autolisp Code To Print Multiple Paperspace layout
    By mill3929974348 in forum AutoLISP
    Replies: 2
    Last Post: 2012-04-27, 09:10 PM
  3. Insert vbscript code has not code
    By buzz in forum AMEP General
    Replies: 3
    Last Post: 2008-02-09, 03:08 AM
  4. Convert VBA code to VB code
    By Robert Platt in forum VBA/COM Interop
    Replies: 20
    Last Post: 2007-08-15, 10:13 PM
  5. Replies: 13
    Last Post: 2004-07-29, 11:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •