+ Reply to Thread
Results 1 to 4 of 4

Macro for Sending Mail

  1. #1
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Macro for Sending Mail

    Hi All,

    I have one excel with 4 sheets.In each sheet starting from first row. first sheet row has headers from A to F columns.And from second row onwords we have data in those columns
    (A to F).Column B contains date values(12-mar-2014 for example) and remaining columns contains text data.I need a macro to copy those data from all the fields and sent a mail to concerned persons.
    But it will check max(column B value date value) from all those 4 sheets.Then copy the maximum date value data from all the sheets and send mail using outlook.If any case any sheet have less than maximum date ,for example sheet1 and sheet2 and sheet3 have maximum date
    and should be same date and sheet4 have less than that max date value date then it will replace the C,D,E columns data values as Not available and column B date value set to high maximum date value.Excel sheet will placed in specific path I need a macro to send those data automatically using that sheet data.


    Any one can help me onthis.
    Last edited by toravietl; 03-20-2015 at 04:57 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro for rare scenario

    Unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-09-2014
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    85

    Re: Macro for Sending Mail

    Hi Richard,

    I have changed the title.Is it ok ?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro for Sending Mail

    Hi,

    The title is now fine. Thanks for the change.

    It will help if you upload the workbook, or at least a representative sample from it. Clearly identify the specific ranges that you want to send.

    One thing isn't clear. Are you wanting to put this data in a separate workbook and attach that Excel file to an Outlook email?

+ 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. [SOLVED] Duplicate find rare case
    By makinmomb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-26-2014, 02:23 AM
  2. Scenario Manager displays same result for every scenario
    By terihoff in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 11-10-2012, 07:14 PM
  3. Replies: 0
    Last Post: 08-16-2012, 01:32 PM
  4. How to extract the word RARE from each items as once
    By scotzal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-28-2010, 11:34 AM
  5. [SOLVED] Help on Echange rare
    By Hoshyar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2005, 04:05 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