+ Reply to Thread
Results 1 to 9 of 9

VBA emailing using Outlook

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Question VBA emailing using Outlook

    I have a spreadsheet and I have been trying to use the rondebruin links for getting an idea. I found one that sort of works however when I try to do
    Dim subj as string

    and assign sub as an active workbook looking for email addresses in a range it does not send them nor does it work as a subject or body as well

    Please Login or Register  to view this content.
    any ideas would be greatly appreciated

  2. #2
    Registered User
    Join Date
    12-09-2014
    Location
    Norfolk
    MS-Off Ver
    2013
    Posts
    19

    Re: VBA emailing using Outlook

    does this point you in the right direction ?


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: VBA emailing using Outlook

    Yeah it then emails everyone with the subject being everything that is in the range, I need it to be one email at a time etc does that make sense

    Quote Originally Posted by bennett4455 View Post
    does this point you in the right direction ?


    Please Login or Register  to view this content.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA emailing using Outlook

    Hi scrizo

    Not tested...

    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: VBA emailing using Outlook

    Will this code work with ranges as well? or just grab the email from the column

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA emailing using Outlook

    Hi scrizo

    Not sure I understand the question
    Will this code work with ranges as well? or just grab the email from the column
    The Code is looking for email addresses in Column G.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: VBA emailing using Outlook

    Just noticed that, if I create a button and put it on the workbook and assign the macro itll work does it have to be activex or can it be any button

  8. #8
    Registered User
    Join Date
    07-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: VBA emailing using Outlook

    Added a form control button and assigned the macro to it and it worked. thank you very much jaslake

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: VBA emailing using Outlook

    Hi scrizo

    I'd create a Forms Control Button...you'll be prompted to assign Code to the Button.

+ 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. Emailing Cell info via Outlook
    By N1k100 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2015, 03:42 PM
  2. [SOLVED] Need VBA code for emailing from Outlook
    By WHATSXL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2014, 08:00 PM
  3. Emailing Excel to Outlook
    By stevewilde in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2009, 07:55 AM
  4. emailing with outlook
    By DSJ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2008, 10:20 AM
  5. Macro for emailing attachments through Outlook
    By jat82nd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2007, 07:52 PM
  6. [SOLVED] How do I get Excel to use my normal Outlook profile when emailing
    By Ericthesailor in forum Excel General
    Replies: 0
    Last Post: 09-08-2005, 06:05 AM
  7. Macro Emailing an XLS via Outlook
    By ynissel in forum Excel General
    Replies: 5
    Last Post: 05-26-2005, 05:15 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