So I am working on a huge vessel management project and I am trying to embed email alerts into it. I have the gist of sending out generic email alerts out (contain the same subject and body regardless of which cell triggered it) and have been using that so that I would not have to deal with hundreds of modules for each variable. Now I am thinking I can just have the reference in the email code to pull the value that triggered the sub, along with the name of the component that the value is associated with. In my example I have four engines with their operating hours next to them.
I want the code to send out an email containing the engine name from Column A and the hours (Column B) at which the alert was triggered (for this example I'll say that the engines get serviced at "50" and overhauled at "100"). So when the email goes out, the subject line can be
"Maintenance Alert!"
and the body can be:
"Engine that triggered the alert" is that "X" hours
Bookmarks