View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nirmal Singh Nirmal Singh is offline
external usenet poster
 
Posts: 17
Default Excel VBA to send email using Lotus Notes

I am using the following code

Set Session = CreateObject("Lotus.NotesSession")
Session.Initialize (PWD)
et Directory = Session.GetDbDirectory(Session.ServerName)
Set MailDatabase = Directory.OpenMailDatabase()
Set Document1 = MailDatabase.CreateDocument()
....


It works on all my users machines, apart from 1. He is getting the following error message on the
second line above

Could not open the ID file.

We are using Lotus Notes with the userid files on a server.

Any ideas, anyone?

Nirmal