Función CreateObject

Crea un objeto UNO. En Windows, también puede crear objetos OLE.

Este método crea casos del tipo que se pasa como parámetro.

Sintaxis:

oObj = CreateObject(type)

Parámetros:

type: the type of the object to be created, as a string.

Ejemplo:

Type address
    Name1 As String
    City As String
End Type

Sub main
    myaddress = CreateObject("address")
    MsgBox IsObject(myaddress)
End Sub

¡Necesitamos su ayuda!