Results 1 to 4 of 4

Thread: Capture variables w/ VBA

  1. #1

    Default Capture variables w/ VBA

    Hi

    I have a AutoLISP program that defines a series of variables. I want to capture those variables using a VB macro then transfer them to an excel spreadsheet.

    Does anyone have a sample of code I could use to accomplish this?

    Thanks

  2. #2
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Capture variables w/ VBA

    I find it easier to COM in vba, however, Lisp can do COM. Search either the lisp forum or the vba forum for "excel". If you want to use vba, I would do all of it in vba and abandon your old lisp...especially if all it does is "define a series of variables".
    C:> ED WORKING....

  3. #3

    Default Re: Capture variables w/ VBA

    I cant abandon the LISP. Its a mega drawing program. All of the variables are actually defined in VB, then transferred to the LISP. I've been unloading my forms as a reset for troubleshooting and I was planning to keep that in the case users need to make multiple drawings.

    Thanks.

  4. #4
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Capture variables w/ VBA

    Well, you can still work with xl in lisp or vba, its your choice. In vba you can also retrieve your lisp variables. Search this forum for vlax.cls.
    C:> ED WORKING....

Similar Threads

  1. Command Line capture
    By Coolmo in forum AutoLISP
    Replies: 4
    Last Post: 2010-03-05, 06:41 PM
  2. Capture a linetype
    By mprendergast.184805 in forum AutoCAD General
    Replies: 5
    Last Post: 2009-09-11, 03:18 PM
  3. Screen Capture
    By Rick.B in forum Training
    Replies: 11
    Last Post: 2005-03-25, 03:15 PM
  4. Capture a view
    By Doug in forum Revit Architecture - General
    Replies: 1
    Last Post: 2004-01-20, 01:04 PM
  5. Capture Rendering
    By rhys in forum Revit - Rendering
    Replies: 6
    Last Post: 2003-12-16, 11:25 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
  •