Sorry. That should have read:
IF VAL(oWord.Version) >= 8
My fingers are getting ahead of my brain today.
>As a FYI side note to your question, the object model of Word was changed after Word95 so you will want to check the version to ensure any OLE Automation you do actually works. I restrict my users to Word97 and above.
>
>IF VAL(oWord.Version) < 8
> MS Word97 or later exists. Continue with code
>ENDIF
>
>>Hi,
>>
>>Is there a easy way to see if Word/Excel are installed on my system ?
>>If i try a createobject("word.application") i get a CLASS DEFINITION IS NOT FOUND, but i want to check before i do the createobject.
>>
>>thx
>>
>>Guillaume
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.