Quit Example
Using Programming Languages other than VBA
Sub Example_Quit() ' Warning: This example will quit AutoCAD and VBA. ThisDrawing.Application.Quit End Sub