VBA get lotus notes version number

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top