According to this Wikipedia page,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., .docx or .xlsx) independent of the document streams. The intermediate code is then executed by a virtual machine (hosted by the hosting application).
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)