There are two steps to creating an [object variable](vbe-glossary.md). First you must declare the object variable. Then you must assign a valid reference to the object variable using the **Set** ...
- A variable was declared without specifying a type. If a variable is declared without specifying a type, it defaults to type `Object`. For example, a variable declared with `Dim x` would be of type ...