+ Reply to Thread
Results 1 to 5 of 5

Macro for sending Outlook mail - Need help

  1. #1
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Macro for sending Outlook mail - Need help

    Hello,

    I have attached a macro which sends mail through outlook. I wanted to tweak this macro a lil bit.

    I want to have different subjects below one another, and the user should have an option which should mail should be sent during that time. For ex : If i want to send for missing date - I will select either Yes or Y besides that template and run the macro.

    With this current macro, I am unable to do so. Please can anyone help me with this. ! Thanks a lot in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Macro for sending Outlook mail - Need help

    Something like this:
    Please Login or Register  to view this content.
    Instead of .subject =
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Macro for sending Outlook mail - Need help

    It is not working when i amended the macro. Can you please amend the macro and send me? I think I am missing something when am amending it. Thanks.

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Macro for sending Outlook mail - Need help

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Macro for sending Outlook mail - Need help

    Working awesome....But I would need some more tweaks..

    I need the macro to work for 8 different scenarios...1) Date missing 2) Time missing 3) Date & Order code missing 4) Date & Time missing 5) Date, Time and Consignee missing 6) Order code missing 7) Time & Order code missing.

    Also I want this macro to be implemented for 7 worksheets. Thanks.

+ 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. Sending E-mail from excel via outlook
    By Sasi1345262 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2013, 02:03 AM
  2. VBA code sending Outlook e-mail
    By dkub in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2011, 06:30 PM
  3. Sending outlook mail using VBA
    By icylemontea in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-11-2010, 06:30 PM
  4. How to format text when sending mail to Outlook?
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2008, 11:18 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