|
VarType (constantes)
Se pueden utilizar las siguientes constantes en cualquier lugar del código en vez de los valores reales:
Constante | Valor | Descripción |
---|---|---|
vbEmpty | 0 | Sin inicializar (predeterminado) |
vbNull | 1 | No contiene datos válidos |
vbInteger | 2 | Integer |
vbLong | 3 | Entero largo |
vbSingle | 4 | Número de signo flotante de precisión simple |
vbDouble | 5 | Número de signo flotante de precisión doble |
vbCurrency | 6 | Currency |
vbDate | 7 | Date |
vbString | 8 | String |
vbObject | 9 | Objeto |
vbError | 10 | Error |
vbBoolean | 11 | Boolean |
vbVariant | 12 | Variant (sólo se utiliza para matrices de variants) |
vbDataObject | 13 | Objeto de acceso a datos |
vbDecimal | 14 | Decimal |
vbByte | 17 | Byte |
vbUserDefinedType | 36 | Variants que contienen tipos definidos por el usuario |
vbArray | 8192 | Matriz |