+ Reply to Thread
Results 1 to 2 of 2

help to create vba to send email

  1. #1
    Registered User
    Join Date
    01-12-2015
    Location
    Seattle, WA, USA
    MS-Off Ver
    2013
    Posts
    19

    help to create vba to send email

    I'm currently working on creating a vba that would send an email of the active workbook.

    If possible, i need a button that says "Email Bid", and upon click to display a form that has a 'To:', 'From:', 'Subject:', and 'Message' box that will direct the workbook to its respective recipient.

    Attached is something I've tried to accomplish.

    Thank you very much in advance,

    Cris
    Attached Files Attached Files

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: help to create vba to send email

    Here is the major part of the file....I changed a few things....

    Naming the objects in your form. textbox1 is hard to remember so I changed it to txtTo and then txtFrom and so on....

    You will have to change the smtp server object to your smtp server AND the from name must be valid user on the system....

    another weird thing is the that this techique does NOT put an entry in the send items folders....so, give it a shot and let me know...

    Please Login or Register  to view this content.
    NOTE: I didn't notice that you are running 2003....there "MAY" be issue between 2010 (my version) and 2003---I hope not
    Attached Files Attached Files
    Last edited by judgeh59; 04-09-2015 at 12:50 PM. Reason: 2003 Issue
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

+ 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. Create course wise list and send email
    By shreejit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2013, 07:08 AM
  2. Replies: 1
    Last Post: 05-22-2012, 02:13 PM
  3. Macro to create a pdf of a range and send in an Outlook email
    By dzuspann in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2012, 01:53 PM
  4. Macro that will create & send standard email
    By jamie.c in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 06-10-2009, 02:34 AM
  5. need macro for create new email message and send it
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-11-2006, 01:35 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