5.Always use Option Explicit
Why? First, if you do not use Option Explicit and misspell a variable, VBA will treat it as a new variable having a value of zero and won't through an error. And this error will be hard to find! Second, Option Explicit encourages you to think of proper types for variables, rather than just using Variant, which is often inefficient.
Return to Comments on articles
Users browsing this forum: No registered users and 1 guest