Consulting

Results 1 to 3 of 3

Thread: VBA OF EMAIL FROM EXCEL

  1. #1
    VBAX Newbie
    Joined
    Jan 2013
    Posts
    5
    Location

    VBA OF EMAIL FROM EXCEL

    hello

    I have a workbook with a vba code to send an email if acertain cell as value 1
    but sometimes that send to much emails .
    Is it possible limited the number of Email ( only want send one ) send in that Hour or day ?

    ccruz

  2. #2
    VBAX Contributor D_Marcel's Avatar
    Joined
    Feb 2012
    Location
    Tokyo
    Posts
    117
    Location
    Hello ccruz!

    Hum... strange, if your VBA code consider the value of a single cell, it should send only one e-mail, am I right?

    Well, I do not know if is there a way to limit the number of e-mails sent, but if you have a loop structure such as For Each Next or Do While, what about to put a Counter and use a If when it is higher than 1?

    Hope it helps!

  3. #3
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    With out seeing code, it is hard to help. Either post code that pertains to the problem or post a simple workbook.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •