Visual Basic for Applications (VBA)
What is Visual Basic for Applications?
Visual Basic for Applications or VBA for short is a general programming language and development environment specifically designed to customize and extend applications that include the VBA application programming interface (API). It is based on Microsoft Visual Basic but is used by many different applications, including AutoCAD. In AutoCAD, VBA is used to access objects via the ActiveX Automation interface.
The ActiveX Automation interface was first introduced in AutoCAD Release 14, at the same time as Visual LISP and this goes some way to explain why Visual LISP was never really developed any further. VBA has a number of advantages over Visual LISP, including the integrated development of dialog boxes (VBA does not require DCL) and the fact that VBA is a generic language and not specific to AutoCAD.

In recent times, VBA has fallen out of favour with Autodesk, who are now promoting the use of more modern development environments with AutoCAD, specifically VB.NET. Autodesk are currently encouraging developers to migrate from VBA to VB.NET and the Visual Basic Editor was dropped from the AutoCAD 2010 installation although it is still available as a download. For current details of the Autodesk policy on VBA, see this VBA support document.
VBA Tutorials
Popularity: 6.16 visits per day | Last visit: 8 hours ago | Total visits: 35,923
Popularity: 6.67 visits per day | Last visit: 9 hours ago | Total visits: 38,930
Popularity: 5.25 visits per day | Last visit: 9 hours ago | Total visits: 30,626
Popularity: 4.89 visits per day | Last visit: 5 hours ago | Total visits: 28,525
Popularity: 4.79 visits per day | Last visit: 9 hours ago | Total visits: 27,944
Loading VBA Projects with AutoLISP
Popularity: 4.65 visits per day | Last visit: 5 hours ago | Total visits: 27,029
Loading VBA Files with Visual LISP
Popularity: 8.43 visits per day | Last visit: 7 minutes ago | Total visits: 48,989
Popularity: 4.45 visits per day | Last visit: 39 minutes ago | Total visits: 25,969
Popularity: 1.92 visits per day | Last visit: 9 hours ago | Total visits: 11,173
Popularity: 9.41 visits per day | Last visit: 9 hours ago | Total visits: 54,888
VBA Applications
Popularity: 3.05 visits per day | Last visit: 9 hours ago | Total visits: 17,791
Popularity: 3.96 visits per day | Last visit: 2 hours ago | Total visits: 22,996
Popularity: 8.67 visits per day | Last visit: 3 hours ago | Total visits: 50,429
Popularity: 4.2 visits per day | Last visit: 9 hours ago | Total visits: 24,202
