GetObject is usually used when a process is spawned by an action you perform. You might have a button that launches an Excel spreadsheet or Word document you need to query, this is where you would use GetObject.
Set excelBook = GetObject("C:\mybook.xlsx")
If you run this code and excel is close. You will get an process in the task manager. So if you try to close .It will say the close not a command . Using this you can work out