View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default VBA get lotus notes version number

Public Sub NotesMailOLE()
Dim objSession As Object
Dim ver As String

Set objSession = CreateObject("Notes.NotesSession")

ver = objSession.NOTESVERSION
MsgBox ver

Set objSession = Nothing
End Sub

I couldn't find how to close the note session it starts.

In tools = references in the VBE create a reference to Lotus Notes, then
you can look at the object model in the object browser.

--
Regards,
Tom Ogilvy



"Michel C" <Michel wrote in message
...
Hi,
I looking for a code to let me capture the Lotus Notes version number
installed on the computer. Could you help me ? Thanks in advance!
Michel