The following are the available data types:
Table Caption
Types in Help File |
VBA Data Type |
C++ Data Type |
Char |
Byte (By Val) |
unsigned char |
Short |
Integer (By Val) |
short |
Long |
Long (By Val) |
long |
String |
String (By Val) |
BSTR |
Boolean |
Bool (By Val) |
VT_BOOL |
Object |
Object |
IDispatch * |
Short* |
Integer |
short* |
Long* |
Long |
long* |
String* |
String |
BSTR* |
Boolean* |
Bool |
VT_BOOL* |
void |
Method does not return a value |
void |
Array of type |
(1, n) of Type |
VT_ARRAY | VT_Type |