Results 1 to 10 of 10

vba to send email and attachments via lotus 8.5

Threaded View

dan2010 vba to send email and... 10-29-2010, 03:04 AM
dan2010 Re: vba to send email and... 10-29-2010, 10:42 AM
Domski Re: vba to send email and... 10-29-2010, 11:01 AM
dan2010 Re: vba to send email and... 10-30-2010, 11:02 AM
dan2010 Re: vba to send email and... 10-31-2010, 07:15 AM
Chippy Re: vba to send email and... 10-31-2010, 10:52 AM
dan2010 Re: vba to send email and... 11-01-2010, 06:46 AM
dan2010 Re: vba to send email and... 11-02-2010, 03:31 AM
Danzil Re: vba to send email and... 02-20-2014, 06:27 AM
Twincam Re: vba to send email and... 01-19-2015, 11:36 AM
  1. #3
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: vba to send email and attachments via lotus 8.5

    I'm off out soon so haven't time to specifically answer your questions (I also don't use Lotus any more so can't test anything) but the attached is a more simplified code for sending a workbook as an attachment via Lotus. In this case it's the active workbook but can be quite easily adapted to be any file you want.

    To add more than one attachment you would just either repeat these lines with the specific attachment required assigned to stAttachment or create some kind of loop:

      Set noAttachment = noDocument.CreateRichTextItem("stAttachment")
    
      Set noEmbedObject = noAttachment.EmbedObject(EMBED_ATTACHMENT, "", stAttachment)

    Hope it helps,

    Dom
    Attached Files Attached Files
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1