E5071C
Coding a VBA Program
Overview
•
User Interface Elements of a Code Window
•
Creating a Simple VBA Program
•
Auto-complete Feature
•
Other topics about Operation Basics
Overview
This section provides descriptive information on the user interface
elements of a code window that lets you code a VBA program, and walks
through a sample program (procedure) that finds the maximum value
contained in an array so you can gain insight into how to create your own
programs.
User Interface Elements of a Code Window
A code window is where you code a VBA program. When you are working
with a user form, you can open the code window for that user form by
double-clicking a control (such as a button or text box) placed on the form.
Similarly, when you are working with a standard or class module, you can
open the code window associated with that module by double-clicking the
module's icon in Project Explorer.
Code window for a standard module
1326