Manipulating Properties and Methods

When you write in any language, your ultimate goal is to be clearly understood. You accomplish this goal 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. (The sentence "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 and considering the basic rules of syntax for how to 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 also helps you understand and modify existing code.

0 0

Post a comment