Chris Hoek
New Member
- Joined
- May 28, 2015
- Messages
- 12
Hello everyone. Long time reader, first time poster here.
I have read the forum rules and the guidelines, and I think I'm good to go but please let me know if I'm messing anything up here.
I'm using Excel 2013 and have some experience with VBA but I would still consider myself a newb.
I have a trouble ticket tracker spreadsheet that I've been working on (for my job) for some time now. All information for a trouble ticket is entered from left to right on a row so that all information pertinent to that trouble ticket is on the same row. When a trouble ticket is opened it automatically sends an email to the person that opened it, when a trouble ticket is closed it also automatically sends them an email to tell them it has been closed.
Some of these trouble tickets require a status update every 2 hours so I have the macro set up to do this. Here's my question. Currently my macro for this "Status Update" email is going to the email address in the active cell row. To: code looks like this:
strto = Sheets("Issue Tracker").Range("D" & ActiveCell.Row)
On all my previous macros in this spreadsheet the macro is initiated by entering something into a cell on the same row as the email address that the email needs to go to. Accordingly, the current code does what it is supposed to do.
The problem with this is that at any given time we are tracking multiple issues and the current To: code isn't optimal for this macro.
The macro for my "Status Update" email is designed such that anytime my elapsed time column says 2:00, 4:00, 6:00, 8:00 etc. it automatically triggers the email to go out. I need this email to go out to the email address in the same row as the column in which the elapsed time column says 2:00, 4:00, 6:00, 8:00 etc. regardless of where my active cell is.
I hope I have explained this clearly enough.
Can someone please help?
Chris
I have read the forum rules and the guidelines, and I think I'm good to go but please let me know if I'm messing anything up here.
I'm using Excel 2013 and have some experience with VBA but I would still consider myself a newb.
I have a trouble ticket tracker spreadsheet that I've been working on (for my job) for some time now. All information for a trouble ticket is entered from left to right on a row so that all information pertinent to that trouble ticket is on the same row. When a trouble ticket is opened it automatically sends an email to the person that opened it, when a trouble ticket is closed it also automatically sends them an email to tell them it has been closed.
Some of these trouble tickets require a status update every 2 hours so I have the macro set up to do this. Here's my question. Currently my macro for this "Status Update" email is going to the email address in the active cell row. To: code looks like this:
strto = Sheets("Issue Tracker").Range("D" & ActiveCell.Row)
On all my previous macros in this spreadsheet the macro is initiated by entering something into a cell on the same row as the email address that the email needs to go to. Accordingly, the current code does what it is supposed to do.
The problem with this is that at any given time we are tracking multiple issues and the current To: code isn't optimal for this macro.
The macro for my "Status Update" email is designed such that anytime my elapsed time column says 2:00, 4:00, 6:00, 8:00 etc. it automatically triggers the email to go out. I need this email to go out to the email address in the same row as the column in which the elapsed time column says 2:00, 4:00, 6:00, 8:00 etc. regardless of where my active cell is.
I hope I have explained this clearly enough.
Can someone please help?
Chris