| Dim | Definition of variables |
|---|---|
| Do...Loop | Repeats a block of statements while the condition is true or until a condition becomes true. |
| Erase | Reinitializes items of fixed-size array and deallocates dynamic-array storage space |
| Exit | Exits a block of Do...Loop, For...Next or the whole function |
| For Each...Next | Repeats a group of statements for each item of the array |
| For...Next | Repeats a group of statements a specified number of times |
| If | Conditionally executes a group of statements, depending on the value of an expression |
| On Error | It allows error-handling |
| Randomize | Initializes the random-number generator |
| ReDim | Used to declare dynamic-array variables and allocate or reallocate storage space |
| Rem | Used to include explanatory remarks into the script |
| Select Case | Executes one of several groups of statements, depending on the value of an expression |
| Set | Assignment of an object reference into the variable (or to an object property) |
nothing