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.13 visits per day | Last visit: 4 hours ago | Total visits: 36,035
Popularity: 6.65 visits per day | Last visit: 6 hours ago | Total visits: 39,056
Popularity: 5.23 visits per day | Last visit: 6 hours ago | Total visits: 30,725
Popularity: 4.87 visits per day | Last visit: 6 hours ago | Total visits: 28,610
Popularity: 4.77 visits per day | Last visit: 6 hours ago | Total visits: 28,021
Loading VBA Projects with AutoLISP
Popularity: 4.64 visits per day | Last visit: 24 minutes ago | Total visits: 27,178
Loading VBA Files with Visual LISP
Popularity: 8.41 visits per day | Last visit: 3 hours ago | Total visits: 49,238
Popularity: 4.44 visits per day | Last visit: 14 hours ago | Total visits: 26,080
Popularity: 1.92 visits per day | Last visit: 12 hours ago | Total visits: 11,262
Popularity: 9.36 visits per day | Last visit: 28 hours ago | Total visits: 54,997
VBA Applications
Popularity: 3.04 visits per day | Last visit: 37 minutes ago | Total visits: 17,872
Popularity: 3.95 visits per day | Last visit: 8 hours ago | Total visits: 23,102
Popularity: 8.64 visits per day | Last visit: 28 hours ago | Total visits: 50,566
Popularity: 4.2 visits per day | Last visit: 16 minutes ago | Total visits: 24,347
