
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