GetObject([ pathname ], [ class ])
set xls = getObject( , "Excel.Application") debug.print xls.name
createObject() getObject seems to be [System.Runtime.InteropServices]::GetActiveObject(…). get-activeObject in the COM PowerShell module. GetObject() function.