The CreateObject function creates and returns a reference to a client-side COM object.
Syntax | |||||
CreateObject(Class) | |||||
Return value | |||||
Type |
Description | ||||
Variant |
The generated COM object | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
Class |
String |
ByVal |
The ProgID of the COM class of the object to be created | |