ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA get lotus notes version number (https://www.excelbanter.com/excel-programming/315206-vba-get-lotus-notes-version-number.html)

Michel C

VBA get lotus notes version number
 
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


Tom Ogilvy

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





All times are GMT +1. The time now is 01:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com