+ Reply to Thread
Results 1 to 2 of 2

Create emails in Outlook or Lotus Notes using data from Spreadsheet

  1. #1
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    2019
    Posts
    451

    Question Create emails in Outlook or Lotus Notes using data from Spreadsheet

    Hi Guys,

    I'm looking for a way to create e-mails from concatenated values of cells. That concatenated value would be dependent upon whether a check box is clicked or not. (see image - file also attached)

    The subject of the e-mail would be taken from the Filename.

    In addition, some of the users will be using Lotus Notes and others will be using Outlook, so I need to give the users a choice of which button to press to activate any macros.

    Distribution.jpg

    Any help you can give me would be greatly appreciated (However, I don't have Lotus Notes to test it on)
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    2019
    Posts
    451

    Lightbulb Re: Create emails in Outlook or Lotus Notes using data from Spreadsheet

    Okay Guys,

    37 Views and no replies. I've managed to work it out, it's probably not the most elegant way of doing I. But, will try to explain it as best I can. In the attached file several columns are hidden.

    In Cell I7 I've put a check box that is linked to Cell I7. When the check box is checked it puts TRUE in the Cell
    In Cell D7 I've put an if statement:
    Please Login or Register  to view this content.
    In Cell J7 I've put a check box that is linked to Cell J7. When the check box is checked it puts TRUE in the Cell
    In Cell F7 I've put an if statement:
    Please Login or Register  to view this content.
    In Cell H7 I've put the delimeter. As it's for Outlook, I've used the semi-colon ";"
    In Cell K7 I've pulled the ConcRange Function if Cell D7 is populated
    Please Login or Register  to view this content.
    In Cell L7 I've pulled the ConcRange Function if Cell F7 is populated
    Please Login or Register  to view this content.
    I can't work out why it needs D7:E7 or F7:G7 but without it, it doesn't seem to work. I may not need I7 either.

    I got the ConcRange Code from elsewhere (wasn't aware of this functionality before) - I can't remember where, and adapted it for my use. but here it is.
    Please Login or Register  to view this content.
    I then used Cell M1 for the "To" addresses. So, in cell M1 I've put
    Please Login or Register  to view this content.
    I also used Cell M2 for the "cc" addresses. So, in cell M2 I've put
    Please Login or Register  to view this content.
    This gave me the List of e-mail addresses, properly formatted (for Outlook) that can be inserted in each field. I'm sure there's a neater way of doing this, so I'm open to suggestions

    Finally, I created the macro (linked to the blue button) for MS Outlook to create the e-mail:
    Please Login or Register  to view this content.
    I have found a macro for doing the same for Lotus Notes but, as I don't have Notes, I don't know if it works. Here it is if anyone wants to test it. I'd be delighted with any adjustments that may make it work.

    Please Login or Register  to view this content.
    Enjoy and please feel free to provide any feedback.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Send attached spreadsheet with outlook or lotus notes
    By RANDY LIPOSKY in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-07-2014, 01:48 PM
  2. Macro – send emails to lotus notes via excel
    By sunilwadhwa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 05:43 AM
  3. Sending Multiple Emails from Excel with Lotus Notes
    By kec in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2011, 02:25 PM
  4. Macro to send emails through Lotus notes
    By shekar goud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2010, 05:20 AM
  5. mailto LOTUS NOTES (not Outlook)
    By vicmartin in forum Excel General
    Replies: 1
    Last Post: 12-26-2009, 09:16 PM

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