LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Sending File From Excel To Domin Web Access Version 7

Good Morning, 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")


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Sending file using File/Send to/Mail Recipient Dawn Excel Discussion (Misc queries) 0 March 21st 10 09:20 PM
How do I access a previous version of my Excel document? Jo Excel Discussion (Misc queries) 3 March 9th 10 06:29 AM
Sending Excel data to Access. DaveO Excel Programming 1 July 10th 06 11:27 AM
Can I access the previous version of a saved file? JCC Excel Discussion (Misc queries) 10 November 21st 05 08:24 PM
problem about sending data in Excel to an Access database IgelSitter Excel Programming 0 July 25th 05 07:22 AM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"