Technical ReferenceMacroBasic Language As [New] type definition As type -or- As New objtype Dim, Private, Public and Static statements may declare variable types using As type or As New objtype. A variable declared using As New objtype is automatically created prior to use, if the variable is Nothing.