Skip to main content

Variables and constants keyword summary

Action Keywords
Assign value. Let
Declare variables or constants. Const, Dim, Private, Public, Set, Static
Declare module as private. Option Private Module
Get information about a variant. IsArray, IsDate, IsEmpty, IsError, IsMissing, IsNull, IsNumeric, IsObject, TypeName, VarType
Refer to current object. Me
Require explicit variable declarations. Option Explicit
Set default data type. Deftype

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>