I'm using GetObject to get an Excel App that is opened by the WebApp that I am testing. I'm using GetObject like this: "GetObject(,"Excel.Application") and it causes a syntax error, but the test will still run. I'm trying to put a class and several functions in a library outside the test and the "GetObject" still causes the syntax error, but this time causes the test to not run. Is there any other way to get the Excel App? Or a workaround for this issue? Any help would be appreciated. Thanks.