The Visual Basic Editor (VBE) is the environment built into Excel for writing, testing and fixing VBA code, opened with Alt + F11. It features the Project Explorer, the code window, the Immediate window and the Locals window. Code is stored in modules attached to the workbook.
Example
Alt + F11 opens the editor; Insert > Module creates a module in which to write a procedure.