Visual Basic for Applications (VBA) is a software development environment built directly into all Microsoft Office applications. VBA is most commonly used by document authors to record macros that automate tasks such as document formatting or mail merging, but it is also a way to rapidly prototype an Office extension before moving on to a more robust technology such as Microsoft Visual Studio.