+ Reply to Thread
Results 1 to 11 of 11

Help needed with loop - sending attachment in lotus notes

  1. #1
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Help needed with loop - sending attachment in lotus notes

    Morning,

    I am having a little trouble looping code to send an email with attachment in lotus notes.

    I can get it to work, to do one. But it's the whole looping thing I am unsure on (New to VBA)

    The code below works to send an email with attachement from file path that is specified in D5 and sends to the email recipient specified in E5, those two bits of information I want changing to go down the list, so next one I want to be D6 and E6 and so on until I get to bottom of list.

    Would really appreciate any help anyone can provide...

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: Help needed with loop - sending attachment in lotus notes

    I have not gone thru your code. But attaching a file with excel-lotus integration that i use
    Attached Files Attached Files
    regards

    johnjohns

    When you are not sure where to go, every road takes you there!

  3. #3
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Help needed with loop - sending attachment in lotus notes

    Appreciate your reply...but It is the loop part of it I need help with.

    The sending from lotus I can get to work fine.

    Anyone else able to offer any assistance?

  4. #4
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Help needed with loop - sending attachment in lotus notes

    BUMP...anyone else able to help?

  5. #5
    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: Help needed with loop - sending attachment in lotus notes

    Is the only thing that changes the email address to be sent to?

    Dom
    "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.

  6. #6
    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: Help needed with loop - sending attachment in lotus notes

    If it is this might do the trick:

    Please Login or Register  to view this content.

    Not tested as don't have Notes any more.

    Dom

  7. #7
    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: Help needed with loop - sending attachment in lotus notes

    Forgot to alter the attachment bit which think should read:

    Please Login or Register  to view this content.

    Dom

  8. #8
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Help needed with loop - sending attachment in lotus notes

    Cheers Dom, that is almost what I need, I tested that for the email address and it worked, I did try to add the extra bit I need in, which is attachment.

    The path of that is in column d rather than e - which is address, would you mind telling me how I can do both?

    Really appreciate your help.

  9. #9
    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: Help needed with loop - sending attachment in lotus notes

    This should do it I think:

    Please Login or Register  to view this content.

    Dom

  10. #10
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Help needed with loop - sending attachment in lotus notes

    Cheers for your reply Dom...will give that a try once ive had my morning tea! Will let you know. Dan

  11. #11
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Help needed with loop - sending attachment in lotus notes

    Cheers Dom - That worked!

+ Reply to Thread

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