Share via


Visual Basic Concepts

Code Writing Mechanics

Before you begin, it's important to understand the mechanics of writing code in Visual Basic. Like any programming language, Visual Basic has its own rules for organizing, editing, and formatting code.

The following topics introduce code modules and procedures, discuss the basics of using the Code Editor, and cover basic rules for writing code.

  • Code Modules   An introduction to the different types of code modules and the procedures that they contain.
  • Using the Code Editor   An introduction to working with code using the Code Editor.
  • Code Basics   A discussion of the rules of the Visual Basic language.