Visual Basic for Applications
Visual Basic for Applications (VBA) is an implementation of Microsoft's event-driven programming language Visual Basic 6, which was declared legacy in 2008, and is an associated integrated development environment (IDE). Although pre-.NET Visual Basic is no longer supported or updated by Microsoft, the VBA programming language was upgraded in 2010 with the introduction of Visual Basic for Applications 7 in Microsoft Office applications. As of 2020, VBA has held its position as "most dreaded" language for developers for 2 years, according to some who participated in surveys undertaken by Stack Overflow. (The most dreaded language for 2018 was Visual Basic 6).
Visual Basic for Applications enables building user-defined functions (UDFs), automating processes and accessing Windows API and other low-level functionality through dynamic-link libraries (DLLs). It supersedes and expands on the abilities of earlier application-specific macro programming languages such as Word's WordBASIC. It can be used to control many aspects of the host application, including manipulating user interface features, such as menus and toolbars, and working with custom user forms or dialog boxes.
As its name suggests, VBA is closely related to Visual Basic and uses the Visual Basic Runtime Library. However, VBA code normally can only run within a host application, rather than as a standalone program. VBA can, however, control one application from another using OLE Automation. For example, VBA can automatically create a Microsoft Word report from Microsoft Excel data that Excel collects automatically from polled sensors. VBA can use, but not create, ActiveX/COM DLLs, and later versions add support for class modules.
VBA is built into most Microsoft Office applications, including Office for Mac OS X (except version 2008), and other Microsoft applications, including Microsoft MapPoint and Microsoft Visio. VBA is also implemented, at least partially, in applications published by companies other than Microsoft, including ArcGIS, AutoCAD, CorelDraw, LibreOffice, Reflection, SolidWorks, WordPerfect, and UNICOM System Architect (which supports VBA 7.1).
Lichfield (/ˈlɪtʃfiːld/) is a cathedral city and civil parish in Staffordshire, England. Lichfield is situated roughly 16 mi (26 km) north of Birmingham, 8.1 miles (13.0 km) from Rugeley, 9 miles (14 km) from Walsall, 7.9 miles (12.7 km) from Tamworth and 13 miles (21 km) from Burton Upon Trent. At the time of the 2011 Census the population was estimated at 32,219 and the wider Lichfield District at 100,700.
Notable for its three-spired medieval cathedral, Lichfield was the birthplace of Samuel Johnson, the writer of the first authoritative Dictionary of the English Language. The city's recorded history began when Chad of Mercia arrived to establish his Bishopric in 669 AD and the settlement grew as the ecclesiastical centre of Mercia. In 2009, the Staffordshire Hoard, the largest hoard of Anglo-Saxon gold and silver metalwork, was found 5.9 km (3.7 mi) south-west of Lichfield.
The development of the city was consolidated in the 12th century under Roger de Clinton, who fortified the Cathedral Close and also laid out the town with the ladder-shaped street pattern that survives to this day. Lichfield's heyday was in the 18th century, when it developed into a thriving coaching city. This was a period of great intellectual activity, the city being the home of many famous people including Samuel Johnson, David Garrick, Erasmus Darwin and Anna Seward, and prompted Johnson's remark that Lichfield was "a city of philosophers".
Today, the city still retains its old importance as an ecclesiastical centre, and its industrial and commercial development has been limited. The centre of the city has over 230 listed buildings (including many examples of Georgian architecture), and preserves much of its historic character.