Manipulating Properties and Methods

When you write in any language, your ultimate goal is to be clearly understood. You accomplish this by following basic rules of word order and punctuation (syntax). In a sentence in English, for example, nouns, verbs, objects, articles, modifiers, and punctuation fall (usually) in a set way. (my the ate. dog homework is unintelligible; The dog ate my homework. is correct.)

Likewise, when you write code, you're manipulating the properties and methods exposed by that object, taking into consideration the basic rules of syntax for how you refer to objects, properties, and methods. Understanding those rules is critical to being able to write VBA code that works. Knowing how it all works will also help you understand and modify existing code.

0 0

Post a comment