+ Reply to Thread
Results 1 to 3 of 3

Help with macro not working - Pull from fields > attach doc from folder > send email

  1. #1
    Registered User
    Join Date
    01-07-2015
    Location
    wake forest, north carolina
    MS-Off Ver
    Office 2013
    Posts
    2

    Help with macro not working - Pull from fields > attach doc from folder > send email

    Yikes - I hardly know where to begin -

    I need help getting this macro to work -

    In this worksheet I need to be able to input values in E1 - E6

    (Subject) E1: Value from Vendor Name Column

    (Body) E2: Will be copy pasted text

    (Start Row) E3: Row number of first vendor entry to start with

    (Last Row) E4: Row Number of last vendor entry to start with

    (CC
    Email
    Addresses) E5: Single string of all the email addresses - separate addresses with a semi-colon

    (From
    Address) E5: Sender's Address

    We need to be able to enter an appropriate value in cells E1: E6 - and upon selecting the "Create Draft Email" macro button currently occupies D7:D8 - show an outlook message appropriately prepared for sending.

    Also (not sure how this would be accomplished) - there is a folder path where there will be documents stored by Vendor Name:

    C:\Users\SERGIL\Desktop\VATS

    I need to somehow incorporate the ability to have the macro search by name (to be entered in cell E7?) for the .pdf / .doc / .xlsx entered in the cell - and have it automatically added as an attachment to the prepared Outlook email.

    2 questions:

    (#1) Is this possible?

    (#2) How would I go about sharing the worksheet (containing the macro as developed thus far) securely to be helped?

    Any & all help is GREATLY appreciated

    I'm an idiot - but I try my best to be descriptive, at least.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Help with macro not working - Pull from fields > attach doc from folder > send email

    A sample (non sensitive) will be great. It is doable!!!

  3. #3
    Registered User
    Join Date
    01-07-2015
    Location
    wake forest, north carolina
    MS-Off Ver
    Office 2013
    Posts
    2

    Re: Help with macro not working - Pull from fields > attach doc from folder > send email

    Oh wow, that's great to hear!

    I've added a link to the worksheet & I've removed any sensitive info. Also, I've included the macro code to my original post.

    https://app.box.com/s/wrpxoigkpy9x1502h6t0

    Here is the macro code as well:

    Please Login or Register  to view this content.

+ 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. Macro to attach range to email in new sheet but not send?
    By Serafin54 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2014, 01:07 PM
  2. Replies: 1
    Last Post: 03-11-2014, 12:44 PM
  3. [SOLVED] Macro to loop through workbooks in folder and attach and email using address in closed WB
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-03-2013, 07:23 PM
  4. Excel Email Macro VBA - How to send an email once all required fields have been fille
    By wallacm2009 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 10:51 AM
  5. Macro to attach workbook to Outlook email but NOT send
    By kbwilsdon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2009, 06:57 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