Question : Getting OUtlook97 Version number

Trying to get the version number of outlook through vba. The code I found doesn't seem to work work with Outlook97:

Dim ol As Object
Set ol = CreateObject("Outlook.Application")
Debug.Print ol.Version

I get the error 438 , Object doesn't support this property or method.

Tried a lot of things, but no go.

I'm thinking if I add an Outlook 2K reference to the mdb file, Access may relink to the Outlook97 refenernce file on that person's PC, so maybe I can use an Outlook object (I think that's early binding or something like that.) Any ideas?

Answer : Getting OUtlook97 Version number

"sometimes have no choice"
This is one of those times!
Random Solutions  
 
programming4us programming4us