I need to generate and automatically send an email if a cell contains specific text. The text will be EE or Vodafone or 3.
Is this possible?
I need to generate and automatically send an email if a cell contains specific text. The text will be EE or Vodafone or 3.
Is this possible?
Check out here & modify to your requirement.
https://www.rondebruin.nl/win/s1/outlook/bmail9.htm
Regards,
Thangavel D
Appreciate the help? CLICK *
Thanks for this. Pardon my ignorance though but how do I change this to specify precise entries into a cell to generate the email rather than just a change to the cell value?
Here you go & change the highlighted code:
![]()
Please Login or Register to view this content.
I'm sure I must be doing something wrong but this isn't working.
I need emails to be generated if EE, Vodafone, Three are entered into cell D20. There will be multiple email reipients but I can change those.
When I amend this and test, nothing happens however when I debug and run the email is generated so appears to be a problem being triggered with the cell value entered.
What you entered in D20? screenshot of this please or the file itself
In D20 I would enter either EE, Vodafone or Three.
But I have tested your code with entering 0, 30 or 60 into C18 and still it doesn't appear to work. Ignore what I have in my spreadsheet as I can amend it to match the cells I need referenced. It's just not generating emails when I enter the values from your original code.
Please provide the excel file which you testing, to further assist you..
Attached. Just need to add an email address to E18
Your requirement is not clear in post#7.But I have tested your code with entering 0, 30 or 60 into C18 and still it doesn't appear to work. Ignore what I have in my spreadsheet as I can amend it to match the cells I need referenced. It's just not generating emails when I enter the values from your original code
My understanding, based on the days you entered in C18, emails will be sent?
I think we're at cross purposes here.
What I am looking for is when I enter either EE, Vodafone or Three in a specific cell (call it C18) then an email is generated. I can amend what is contained in this email.
What your code is doing is meant to generate an email based on day ranges from 0, 30 or 60. I understand what this is doing and that it can be amended to match my requirements. BUT by copying your code, placing it in a module within my workbook and testing. It does not generate an email when any of those values are entered into C18.
If you are able to provide me with the workbook with your code that works then perhaps I'll be able to amend this for my own needs?
Here you go, sample sheet with macro:
Thanks for this but I have already found both of these suggestions myself online and neither really answer the question I'm asking for. My first job (as should everyones) before posting on here is to Google an answer I then come here to find an expert who is able to assist if I can't self troubleshoot the problem.
I don't think it's a very tricky request I just can't get the syntax right for it to work.
Are you able to assist?
Here you go:
You can find the code in sheet's & do the changes in highlighted screenshot.
email instruction.PNG
Here you go, if any changes happen in A1 then only email will be sent.
As discussed
Here you go,I made some changes which was missing:
This now works![]()
Happy to help you!!!!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks