The CreateObject function is only used to create a new instance of an object that is not already running. If you want a reference to an object that already exists in memory, use the GetObject function described in the later in this chapter. The syntax for the CreateObject function is:
Set objectvar = CreateObject("appname.classname",[servername])
GetObject works exactly like the CreateObject function