+ Reply to Thread
Results 1 to 2 of 2

Send Specified sheet range as email on specified date and time

  1. #1
    Registered User
    Join Date
    08-27-2018
    Location
    London
    MS-Off Ver
    office 2016
    Posts
    45

    Send Specified sheet range as email on specified date and time

    Hello

    I want to send a specified cell range ( a1:j20) in the body of an email automatically on specific date and time

    for week 1, everyday except monday when the values are all zero for the new week

    say for the range a1:j20 send email the next morning at 0230hrs from Tuesday morning 0230hrs (31/12/2019) to Monday 0230hrs (06/01/2020)

    The next week a new range will be sent (n1;w20) in email automatically

    for week 2
    say for the range n1:w20 send emails the next morning at 0230hrs Tuesday morning at 0230hrs(07/01/2020) to Monday 0230hrs (13/01/2020)

    and so on for range a23:j42, n23:w42 and a45:j64, i fugured hard dates are needed since the ranges are needed for different subsequent weeks but from the same sheet

    I have cobbled some code together from some digging, I managed to get it to work manualy but only with run function manually and only then for one range

    Please see attachment for current code

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    45,442

    Re: Send Specified sheet range as email on specified date and time

    To get you started, have a look here (posted just yesterday): https://www.excelforum.com/tips-and-...-matching.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

+ 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. Amending VBA to send email set amount of time prior to required Date
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2018, 08:32 AM
  2. Replies: 5
    Last Post: 03-10-2017, 06:48 AM
  3. 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
  4. Send Email on a specific date and time using Excel Only.
    By j_panky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2013, 12:09 PM
  5. How to send the email if the date range is changing
    By anikethkulkarni@gmai in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-07-2013, 04:33 PM
  6. command button 1 (save as pdf named the current time and date . then send by email
    By guitarist00 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-02-2013, 09:43 AM
  7. Automatically Send an Email with CDO at Specfic Date and Time
    By Orangeworker in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-22-2011, 12:17 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