Language
Code written in VBA is compiled to a proprietary intermediate language called P-code (packed code), which the hosting applications (Access, Excel, Word, Outlook, and PowerPoint) store as a separate stream in COM Structured Storage files (e.g., .doc
or .xls
) independent of the document streams. The intermediate code is then executed by a virtual machine (hosted by the hosting application). Despite its resemblance to many old BASIC dialects (particularly Microsoft BASIC, from which it is indirectly derived), VBA is incompatible with any of them except Visual Basic, where source-code of VBA modules and classes can be directly imported, and which shares the same library and virtual machine. Compatibility ends with Visual Basic version 6; VBA is incompatible with Visual Basic .NET (VB.NET). VBA is proprietary to Microsoft and, apart from the COM interface, is not an open standard.
Read more about this topic: Visual Basic For Applications
Famous quotes containing the word language:
“My God! The English language is a form of communication! Conversation isnt just crossfire where you shoot and get shot at! Where youve got to duck for your life and aim to kill! Words arent only bombs and bulletsno, theyre little gifts, containing meanings!”
—Philip Roth (b. 1933)
“Theres a cool web of language winds us in,
Retreat from too much joy or too much fear:
We grow sea-green at last and coldly die
In brininess and volubility.”
—Robert Graves (18951985)
“What may this mean? Language of Man pronounced
By tongue of brute, and human sense expressed!
The first at least of these I thought denied
To beasts, whom God on their creation-day
Created mute to all articulate sound;
The latter I demur, for in their looks
Much reason, and in their actions, oft appears.”
—John Milton (16081674)