PC Review


Reply
Thread Tools Rate Thread

ACTIVE X Component cant create object (From Excel To Lotus 7)

 
 
=?Utf-8?B?U0VBTiBESScnJydBTk5P?=
Guest
Posts: n/a
 
      7th Jun 2007

Good afternoon, Im not sure if anyone can help as I have already tried a few
forums without success. Im not very good at all at using VB bu trying very
hard to help a colleague send an Email via Excel. The code (which is at the
bottom used to work perfectly in Lotus Notes 5. We have now been migrated to
Domino Web Access Version 7 and the same Excel file no longer works. When you
click on the button which should send the Email it returns an error of,
ACTIVE X Component cant create object and using debug it is failing on the
line Set Session = CreateObject("Notes.NotesSession"). I should point out
that during migration part of the process uninstalls the old Lotus. Can
anyone please help.



Public Sub SendNotesMail(Subject As String, Attachment As String, Recipient
As String, BodyText As String)
Dim Maildb As Object 'The mail database
Dim UserName As String 'The current users notes name
Dim MailDbName As String 'The current users notes mail database name
Dim MailDoc As Object 'The mail document itself
Dim AttachME As Object 'The attachment richtextfile object
Dim Session As Object 'The notes session
Dim EmbedObj As Object 'The embedded object (Attachment)
Dim Recip(10) As Variant 'The Recipient list
Dim SaveIt As Boolean 'Save to sent mail
Dim WasOpen As Integer 'Checking to see if the Mail DB was already
'open to determine if session should be
'closed (0) or left alone (1)




SaveIt = True
Set Session = CreateObject("Notes.NotesSession")




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: active X component can't create object patskinny Microsoft Access 1 18th Dec 2009 12:08 PM
Active X component can't create object. =?Utf-8?B?c3dlZW5leXNtc20=?= Microsoft Access Forms 6 6th Jan 2006 05:12 PM
Active X component cant create object =?Utf-8?B?VHJhdmlz?= Microsoft Access Forms 1 13th Dec 2005 11:17 AM
active x component can't create object =?Utf-8?B?Q29saW4=?= Microsoft Access 1 27th Sep 2004 08:23 PM
Active X Component can't create object =?Utf-8?B?SGFuaw==?= Microsoft Access VBA Modules 0 12th Jan 2004 06:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 PM.