Helpo de LibreOfficeDev 25.8
Kreas UNO-objekton. Sub Vindozo, povas ankaŭ krei OLE-objektojn.
Ĉi tiu metodo kreas ekzemplerojn de la tipo pasita kiel parametro.
oObj = CreateObject(type)
type: the type of the object to be created, as a string.
    Type address
        Name1 As String
        City As String
    End Type
     
    Sub main
        myaddress = CreateObject("address")
        MsgBox IsObject(myaddress)
    End Sub