CreateObject Function/text/sbasic/shared/03132400.xhpCreateObject function
CreateObject Function
Creates a UNO object. On Windows, can also create OLE objects.see i70942This method creates instances of the type that is passed as parameter.
oObj = CreateObject(type)
type: the type of the object to be created, as a string.Type address Name1 As String City As StringEnd TypeSub main myaddress = CreateObject("address") MsgBox IsObject(myaddress)End Sub