Posts by pooollito

    good afternoon,


    I would like you to help me build a loop in VBA. I have the body of an email in cell A1, the subject in cell B1, and I want to send it to the emails in column C. I have a macro that sends me the email called "Sendmail", but I want another one that go through column C and in each value of the cell I execute "Sendmail". I thought I could make the macro loop through column C, and have the value of each cell (C1, C2, C3, ...) copy it to another cell, for example D1 and run the "Sendmail" macro for me. So I can indicate in the "Sendmail" macro that the recipient is D1.


    Thanks, I hope your help

    Good Morning. I am executing the code you put me above and I have a couple of doubts:

    - I have 3 pages as you told me to compare the data. I wanted to predict when I invoke the range (O3: O11), I have to tell you which page I want you to look at, right?

    - And then I just get him to send me the email once, I don't know how to make the macro run automatically every 2 minutes without me having to do anything.


    Thanks I hope you can help me.

    Thanks for everything.


    I have an excel sheet called Sheet1, it is powered by external data that is updated every 2 minutes. These external data are edited by me and if they meet certain conditions, they are placed in Table 4 (O3: X11). What I want is that every 2 minutes the VBA looks at Rank O3: O11, and if there is any news, send me an email. I have a normal excel sheet, not a macro, maybe that's why it doesn't work for me ...

    I copy the code provided by Carim, but I don't get it to work. I would like to leave the VBA active so that it automatically checks every 2 minutes on sheet1 and if there is a change in O3: O11 automatically send me the email and continue executing the code for when there is another change to perform the same process again.


    Thanks in advance.

    Administrative Note:


    Your thread title is extremely weak. Please try to summarise what you are trying to achieve next time to give members some idea of what the query is about.

    Yes, you want me to change the thread title. But I can't change it now, I create a new thread with a more descriptive title?

    Sorry for not explaining clearly to me.

    I have an excel sheet fed from external data that is updated every 2 minutes. These external data are edited by me and if they meet certain conditions, they are placed in Table 4 (O3: X11). What I want is that every 2 minutes the VBA looks at Rank O3: O11, and if there is any news, send me an email. I have a normal excel sheet, not a macro, maybe that's why it doesn't work for me ...

    Good morning, I have formulated the following code to run the macro every 2 minutes, and if there is a change in cells 03: O11, send me an email with Table4. I can't get it to work, let's see if you can help me out, please.



    Thank you so much for everything