+ Reply to Thread
Results 1 to 2 of 2

Checkbox to send email with template

  1. #1
    Registered User
    Join Date
    11-13-2014
    Location
    Windsor
    MS-Off Ver
    Office 365
    Posts
    11

    Checkbox to send email with template

    Hi,

    I'm looking for some help writing a macro, I currently have a button that loads up an outlook template ready for me to send as an email. Instead I am looking to click a checkbox to note an email has been sent to that candidate and create the email - I know how to assign this for one checkbox but is there a way that I can add this to all checkboxes in a column with one macro?

    Thanks in advance.

    Tom

    here is my code:

    Sub CheckBox42_Click()
    Dim oApp As Object, oMail As Object

    Set oApp = CreateObject("Outlook.Application")
    Set oMail = oApp.CreateItemFromTemplate("Z:\GRO\HR\Recruitment\Interview Confirmation.oft")

    With oMail
    .Display
    End With

    End Sub

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Checkbox to send email with template

    I assume you have Form control checkboxes on the sheet.
    Please Login or Register  to view this content.
    The only problem with this is that the macro will not pause at each email, let you fill out the form, and then proceed with next one. If you have 50 checked, it will attempt to create all 50 at once and likely hang Excel.

    If you plan to pull data from the sheet and Send instead of Diaplay, then you should be fine.
    David
    (*) Reputation points appreciated.

+ 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. Creating send to email option in my template
    By Ivhee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2014, 12:19 PM
  2. Workflow with signatures (if cell=x then send email, if signed then send email)
    By Kate2811 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2014, 05:37 AM
  3. send email to outlook with selected checkbox
    By joegor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 12:30 AM
  4. Send New Email W/ Body of Received Email, Then Delete Sent Email
    By edneal2 in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 07-01-2013, 12:45 AM
  5. Using Excel vba to send hyperLinks in the body text of an Outlook email using a checkbox
    By PatrickASnyder in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2013, 04:13 PM
  6. send email by checkbox selection
    By kendals in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-24-2011, 01:48 PM
  7. Send email using Active Cell but using external Outlook / Livemail template
    By sellenwood in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2011, 12:39 AM

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