LibreOfficeDev 25.8:n ohje
CreateObject luo UNO-olion. Windowsissa voidaan luoda myös OLE-objekti.
Tämä metodi luo ilmentymän, jonka tyyppi välitetään parametrissä.
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