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.73 visits per day | Last visit: 6 hours ago | Total visits: 32,007
Popularity: 7.4 visits per day | Last visit: 6 hours ago | Total visits: 35,196
Popularity: 5.9 visits per day | Last visit: 5 hours ago | Total visits: 28,060
Popularity: 5.5 visits per day | Last visit: 22 hours ago | Total visits: 26,190
Popularity: 5.37 visits per day | Last visit: 7 hours ago | Total visits: 25,564
Loading VBA Projects with AutoLISP
Popularity: 5.05 visits per day | Last visit: 1 hour ago | Total visits: 23,904
Loading VBA Files with Visual LISP
Popularity: 9.2 visits per day | Last visit: 1 hour ago | Total visits: 43,581
Popularity: 4.94 visits per day | Last visit: 11 hours ago | Total visits: 23,517
Popularity: 2.09 visits per day | Last visit: 2 hours ago | Total visits: 9,922
Popularity: 10.87 visits per day | Last visit: 36 minutes ago | Total visits: 51,708
VBA Applications
Popularity: 3.32 visits per day | Last visit: 1 hour ago | Total visits: 15,805
Popularity: 4.31 visits per day | Last visit: 3 hours ago | Total visits: 20,401
Popularity: 9.57 visits per day | Last visit: 2 hours ago | Total visits: 45,337
Popularity: 4.56 visits per day | Last visit: 1 hour ago | Total visits: 21,347