Share via


Using a Naming Convention

There are many formal naming conventions, and each has its adherents and detractors. You can adopt one of the existing conventions or create one of your own. The important points are that you adopt some convention that would be self-evident to another Office developer and that you apply it consistently.

At a minimum, a useful naming convention will identify and distinguish variable type (object variable, control variable, and data type), variable scope, constants, and procedures, and it should be simple to understand and use.

See Also

Writing Solid Script | Writing Solid Code | Naming Variables and Constants | Naming Objects and Controls | Naming Functions and Subroutines | Structuring and Formatting Your Code | Commenting Code | Designing Code to Be Used Again