Technical ReferenceMacroBasic Language usertypevar definition A user defined type variable holds values for elements of the user defined type. User defined types are defined using Type. Declare with Dim, Private, Public or Static. Declare as a parameter of Sub, Function or Property definition.