Func Getobject
# VBScript GetObject Function
* * Complete VBScript Reference Manual](#)
* * *
The GetObject function returns a reference to an automation object in a file.
### Syntax
GetObject([,class])
| Parameter | Description |
| :--- | :--- |
| pathname | Optional. The full path and name of the file containing the automation object. If this parameter is omitted, the class parameter is required. |
| class | Optional. The class of the automation object. This parameter uses the syntax: appname.objectype. |
* * Complete VBScript Reference Manual](#)
YouTip