+ Reply to Thread
Results 1 to 2 of 2

Send a email taking information from a combobox in a userform

  1. #1
    Registered User
    Join Date
    07-04-2020
    Location
    MEXICO CITY
    MS-Off Ver
    2016
    Posts
    1

    Send a email taking information from a combobox in a userform

    I would like to send a mail taking the content of a combobox in a userform...

    Thanks for your kind support.

    Sub Email()
    Dim olApp As Outlook.Application
    Set olApp = CreateObject("Outlook.Application")

    Dim olMail As Outlook.MailItem
    Set olMail = olApp.CreateItem(olMailItem)

    With olMail
    .To = Combobox1
    .CC = Combobox2
    .Subject = Combobox3
    .Body = Combobox4
    .Display
    .Send

    End With
    End Sub

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    880

    Re: Send a email taking information from a combobox in a userform

    Read the forum rules. (code must be between code tags) And place a sample file. See the big yellow banner at the top of this page.

    And what is the question?

+ 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. Collate information, send in email
    By marcosis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2020, 06:59 AM
  2. Replies: 6
    Last Post: 07-15-2017, 09:54 AM
  3. [SOLVED] Save and Send Userform data to a specific email address based on Combobox value
    By GAMU in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-30-2013, 01:13 PM
  4. Replies: 2
    Last Post: 09-19-2013, 12:49 AM
  5. [SOLVED] Taking information from worksheet and transferring it to Userform textboxes
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2013, 12:08 PM
  6. [SOLVED] send data from userform combobox to userform combobox
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-18-2013, 04:47 PM
  7. how do i can send a information of cell automaticaly via email?
    By Rajani in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-08-2006, 06:10 PM

Tags for this Thread

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