+ Reply to Thread
Results 1 to 3 of 3

Use an array in excel 2007 to send email via lotus notes to multiple recipients

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Birmingham, al
    MS-Off Ver
    Excel 2007
    Posts
    8

    Use an array in excel 2007 to send email via lotus notes to multiple recipients

    Hello,

    I need some assistance in making VBA recognize an array, being parsed with a comma-deliminated value, as a string and then sending that array as the .sendto in my email. I can make this work with a single email address entry all day long but I need to have a multiple receipient email based on user input. I have commented out my array below. Any assistance would be greatly appreciated.

    Please Login or Register  to view this content.


    ---------- Post added at 03:32 PM ---------- Previous post was at 03:25 PM ----------

    I thought I posed an update referring to the error itself but after several page refreshes, it is not appearing. So I will try again. My issue is a "Type Mismatch" on the line [ ArSendMeAway = (LResponse & ",") ]. I am trying to get it to accept and allow the "," as part of the array so it can be placed in the .SendTo portion and therefore the To field in lotus.
    Last edited by tknox827; 08-14-2012 at 04:34 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Use an array in excel 2007 to send email via lotus notes to multiple recipients

    With the SendTo email addresses in a comma-separated string, use the Split function to pass them as an array to the Lotus SendTo property, like this:
    Please Login or Register  to view this content.
    This just shows the essentials to hopefully solve your problem; I'm sure you can adapt it for your own code.
    Post responsibly. Search for excelforum.com

  3. #3
    Registered User
    Join Date
    08-06-2012
    Location
    Birmingham, al
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Use an array in excel 2007 to send email via lotus notes to multiple recipients

    Chippy,

    Thank you for the quick reply. unfortunately, I am getting errors telling me that LResponse cannot be tied to an array. I am now trying to find a way to take the values of LResponse( 1 to 3) and sending them to a file or cell on another sheet to then do a range pull for the send to. Any ideas?

+ 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