Close AutoCAD??

Discussion in 'AutoCAD' started by Matt W, Aug 10, 2004.

  1. Matt W

    Matt W Guest

    Is there a way to close AutoCAD all together with VBA?
    Kinda like a AutoCAD.Exit type of command??

    I haven't found anything (or at least, it's not jumping out at me) so I'm
    thinking the answer is no. Am I right??
     
    Matt W, Aug 10, 2004
    #1
  2. Have you tried:

    Sendkeys "%{F4}"
     
    Allen Johnson, Aug 10, 2004
    #2
  3. Application.Quit

    sample:
    Sub Test()
    AcadApplication.Quit
    End Sub

    --
    R. Robert Bell


    Is there a way to close AutoCAD all together with VBA?
    Kinda like a AutoCAD.Exit type of command??

    I haven't found anything (or at least, it's not jumping out at me) so I'm
    thinking the answer is no. Am I right??
     
    R. Robert Bell, Aug 10, 2004
    #3
  4. Always happy to help.

    --
    R. Robert Bell


    Thanks, Robert!
    Somehow, I had a feeling you'd stop by.
     
    R. Robert Bell, Aug 10, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.