Programming Reference Manual
 
Syntax
 
CreateObject(Class$)
 
Description
Create a new object of type Class$. Use Set to assign the returned object to an object variable.
 
 
Parameter
Description
Class$
This string value is the application's registered class name. If this application is not currently active it will be started.
See Also
Example
 
Sub Main
Dim App As Object
Set App = CreateObject("<span style='color: #004080; font-weight: bold;'>Word</span>.Application")
App.Move 20,30 ' move icon to 20,30
Set App = Nothing
App.Quit ' run-time error (no object)
End Sub