Dear Vabs,

Thank you very much for spending your valuable time on my query...

It is not giving me the required output... as it fails when :

say for example :

a) Refreshed @ 9.00 AM Data found as : 0

b)Refreshed @ 9.10AM Data found as : Mr.Ram - 2

c)Refreshed @ 9.20AM Data found as : Mr.Ram - 2

in the above scence, @ 9 AM No e-mails as no Data and @ 9:10 AM E-mail
to be sent and @ 9:20 AM again No E-mail as no change in the Value
(also e-mail has already been sent @ 9.10 AM !!)

Thank you.

JP

On Tue, Nov 6, 2012 at 4:13 PM, Vabz <v...@vabs.in> wrote:
> Hi
>
> This will help you:
>
> Sub email()
> Dim myOutlook As Object
> Dim myMailItem As Object
> Dim FName As String
> Set otlApp = CreateObject("Outlook.Application")
> Set otlNewMail = otlApp.CreateItem(olMailItem)
> FName = ActiveWorkbook.Path & "\" & ActiveWorkbook.NAME
> With otlNewMail
> .To = "v...@vabs.in"
> .CC = ""
> .Subject = "Test"
> .Body = "Test"
> .Attachments.add FName
> .DeferredDeliveryTime = Range("A1")
> .Send
> End With
>
> Set otlNewMail = Nothing
> Set otlApp = Nothing
> Set otlAttach = Nothing
> Set otlMess = Nothing
> Set otlNSpace = Nothing
> End Sub
>
>
> Where in you have to customise range A1 to give next delivery time.
>
> Rgds//Vabs
>
> On Monday, November 5, 2012 10:54:30 PM UTC+5:30, veerendra vanam wrote:
>>
>> Dear Sir,
>>
>>              i need automatic & send with attachment how its possible any
>> one need help me,,,,,,,,,,,
>>
>>
>> On Mon, Nov 5, 2012 at 10:49 PM, <koul....@gmail.com> wrote:
>>>
>>> Right now its manual effort . You need to click on button every hour
>>> Sent on my BlackBerry® from Vodafone
>>> ________________________________
>>> From: veerendra vanam <veerend...@gmail.com>
>>> Sender: excel-...@googlegroups.com
>>> Date: Mon, 5 Nov 2012 22:50:04 +0530
>>> To: <excel-...@googlegroups.com>
>>> ReplyTo: excel-...@googlegroups.com
>>> Subject: Re: $$Excel-Macros$$ Send mail from outlook Every One Hr .
>>>
>>> Thanks for reply in this code when i am run the macro every 1 hr send
>>> automatically or we click the button every 1 hr....plz tell me,,
>>>
>>>
>>> On Mon, Nov 5, 2012 at 10:43 PM, ashish koul <koul....@gmail.com> wrote:
>>>>
>>>> check the attachment see if it helps
>>>>
>>>>
>>>> On Mon, Nov 5, 2012 at 10:27 PM, veerendra vanam <veerend...@gmail.com>
>>>> wrote:
>>>>>
>>>>> Dear team
>>>>>
>>>>>               i have data file in E drive i send mail to  every 1 hr
>>>>> update mail.summary sheet in body ,,mail send every update every 1 hr
>>>>> 24hrs,365 days any macro from this type of works in vba,,,
>>>>>
>>>>>        plz find attachment of sample file
>>>>> --
>>>>>
>>>>> Thanks&Regards
>>>>>
>>>>>        Veerendra.Vanam
>>>>>
>>>>>               TOC TEAM
>>>>>   Bhagyanagar Electrical & Contractors
>>>>>            H.No-5-9-286/65,Plot No-65
>>>>> Rajiv Gandhi Nagar,Near Andhra Jyothi Press,IE-Kukatpally,
>>>>>   Hyderabad-500072,-Andhra Pradesh
>>>>>           +91-9177-444-840,
>>>>>
>>>>> --
>>>>> Join official facebook page of this forum @
>>>>> https://www.facebook.com/discussexcel
>>>>>
>>>>> FORUM RULES (1120+ members already BANNED for violation)
>>>>>
>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
>>>>> will
>>>>> not get quick attention or may not be answered.
>>>>>
>>>>> 2) Don't post a question in the thread of another member.
>>>>>
>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>> measure.
>>>>>
>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>>
>>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>>> signatures are prohibited.
>>>>>
>>>>> 6) Jobs posting is not allowed.
>>>>>
>>>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not
>>>>> allowed.
>>>>>
>>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>>> Forum owners and members are not responsible for any loss.
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>>> To post to this group, send email to excel-...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> excel-macros...@googlegroups.com.
>>>>>
>>>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>>
>>>> Ashish Koul
>>>>
>>>>
>>>> Visit
>>>> http://www.excelvbamacros.com/
>>>> http://www.accessvbamacros.com/
>>>>
>>>> P Before printing, think about the environment.
>>>>
>>>>
>>>>
>>>> --
>>>> Join official facebook page of this forum @
>>>> https://www.facebook.com/discussexcel
>>>>
>>>> FORUM RULES (1120+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
>>>> will
>>>> not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> 6) Jobs posting is not allowed.
>>>>
>>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "MS EXCEL AND VBA MACROS" group.
>>>> To post to this group, send email to excel-...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> excel-macros...@googlegroups.com.
>>>>
>>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Thanks&Regards
>>>
>>>        Veerendra.Vanam
>>>
>>>               TOC TEAM
>>>   Bhagyanagar Electrical & Contractors
>>>            H.No-5-9-286/65,Plot No-65
>>> Rajiv Gandhi Nagar,Near Andhra Jyothi Press,IE-Kukatpally,
>>>   Hyderabad-500072,-Andhra Pradesh
>>>           +91-9177-444-840,
>>>
>>> --
>>> Join official facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES (1120+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
>>> not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> 6) Jobs posting is not allowed.
>>>
>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>>> owners and members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>
>>>
>>>
>>> --
>>> Join official facebook page of this forum @
>>> https://www.facebook.com/discussexcel
>>>
>>> FORUM RULES (1120+ members already BANNED for violation)
>>>
>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
>>> not get quick attention or may not be answered.
>>>
>>> 2) Don't post a question in the thread of another member.
>>>
>>> 3) Don't post questions regarding breaking or bypassing any security
>>> measure.
>>>
>>> 4) Acknowledge the responses you receive, good or bad.
>>>
>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>> signatures are prohibited.
>>>
>>> 6) Jobs posting is not allowed.
>>>
>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>>
>>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>>> owners and members are not responsible for any loss.
>>> ---
>>> You received this message because you are subscribed to the Google Groups
>>> "MS EXCEL AND VBA MACROS" group.
>>> To post to this group, send email to excel-...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> excel-macros...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>>
>>>
>>
>>
>>
>>
>> --
>>
>> Thanks&Regards
>>
>>        Veerendra.Vanam
>>
>>               TOC TEAM
>>   Bhagyanagar Electrical & Contractors
>>            H.No-5-9-286/65,Plot No-65
>> Rajiv Gandhi Nagar,Near Andhra Jyothi Press,IE-Kukatpally,
>>   Hyderabad-500072,-Andhra Pradesh
>>           +91-9177-444-840,
>>
> --
> Join official facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES (1120+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will
> not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> 6) Jobs posting is not allowed.
>
> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>
>



-- 
Regards, Jayaprakash. S (JAYAPRAKASH. S.) Adaptability is the most
desirable habit for success - Swamy Vivekananda. This message is for
the designated recipient only and may contain privileged, proprietary,
or otherwise private information. If you have received it in error,
please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.


Reply via email to