yUCwp‖CreateObject Function

Contents
jEeX7‖

# QpKCT‖CreateObject Function

PAXDf‖Creates a UNO object. On Windows, can also create OLE objects.

rw8go‖This method creates instances of the type that is passed as parameter.

### FVEx2‖Syntax:

oObj = CreateObject(type)

### WADQ4‖Parameters:

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

### EFSA4‖Example:

        Type address
            Name1 As String
            City As String
        End Type

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

Related Topics

New Operator

Please support us!