Automation error... Error 424, Object Required 
Author Message
 Automation error... Error 424, Object Required

Hi,

Something's broke..

dim x as object

set x = CreateObject("Word.Application") 'generates error 424 "Object
Required".  I have Word 8 checked in References...  it creates an instance
of Winword but the object is invalid

TIA
     -Larry-




Tue, 17 Oct 2000 03:00:00 GMT  
 Automation error... Error 424, Object Required

Hi Larry,

    The onl case when I've seen this come up is when you define x as variant
and omit the keyword Set.  While  CreateObject will do it's job,  the next
statement referring to x will generate the error.  Obviously,  you're not
doing this.

    Have you tried this in a new mdb?  What if you uncheck the reference?
(This code won't require a ref to Word library)

HTH

--
Dev Ashish (Just my $.001)
---------------
The Access Web ( http://home.att.net/~dashish )
---------------

Quote:

>Hi,

>Something's broke..

>dim x as object

>set x = CreateObject("Word.Application") 'generates error 424 "Object
>Required".  I have Word 8 checked in References...  it creates an instance
>of Winword but the object is invalid

>TIA
>     -Larry-

>please pardon the spam filter, real email is




Tue, 17 Oct 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error Starting application executable (error 424 - Object required)

2. run-time error 424 object required

3. Run-time error '424': Object required

4. Runtime error 424: Object required

5. Error 424 Object Required

6. Run-Time error '424': object Required

7. Clipboard.Clear - Returns Error 424 - Object Required

8. Run-Time Error 424, Object-Required.

9. Object required (Error 424)

10. runtime error 424 object required

11. Error 424: Object required

12. VBscript - Error 424 Object Required - NEED a FIX

 

 
Powered by phpBB® Forum Software