You know Set objApp = GetObject(, "Word.Application") doesn't create an instance of Word, it only retrieves a reference to an already-running instance of it. If Word isnât running, this will fail. You should include a fall-back course of action when GetObject() fails of running CreateObject().
Also, are you sure that the class name is correct (sometimes these strings change from version to version of the application youâre after)? (And also: Does this code run successfully in VB
6 on the same machine it fails on with .NET?)