Redigera

Dela via


Variables and constants keyword summary

Action Keywords
Assign value. Let
Declare variables or constants. Const, Dim, Private, Public, New, 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

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.