Banner Default Image

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.[1] 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).[2]

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,[3] SolidWorks,[4] WordPerfect, and UNICOM System Architect (which supports VBA 7.1).

​Downham Market, sometimes simply referred to as Downham, is a market town and civil parish in Norfolk, England. It lies on the edge of the Fens, on the River Great Ouse, approximately 11 miles south of King's Lynn, 39 miles west of Norwich and 30 miles north of Cambridge.[2]

The civil parish has an area of 5.2 km² and in the 2011 census had a population of 9,994 in 4,637 households.[3]

Fire Station in 2006, now a heritage centre

It was an agricultural centre, developing as a market for the produce of the Fens with a bridge across the Ouse. During the Middle Ages, it was famed for its butter market and also hosted a notable horse fair. The market is now held Fridays and Saturdays.

Notable buildings in the town include its mediaeval parish church, dedicated to St Edmund, and the Victorian clock tower, constructed in 1878. The town is also known as the place where Charles I hid after the Battle of Naseby. In 2004 the town completed a regeneration project on the Market Place, moving the market to the town hall car park. The decorative town sign depicts the crown and arrows of St Edmund with horses to show the importance of the horse fairs in the town's history.

A heritage centre, Discover Downham, opened in a former fire station in 2016.[4] The town is twinned with Civray, Vienne, France.[5]

Latest jobs