I've been toying with this for some time now, and I haven't been able to come up with a working model. I have 3 columns of data in an Excel worksheet (C, D, & G). Column C only has one changeable cell (C7) and the rest are changed by formulas. Column D can be changed from rows 8 to 29, and G can be changed from rows 7 to 29. Basically, the first editable cell in row 7 is in column C instead of D. (Don't ask me why, I didn't design the worksheet)
Now...whenever a value is entered into any of those editable cells in the range defined above, I need to insert the current system time into a cell on the same row, but in either column B or E (depending on which column the change was made).
So, if any cell in the range of C7-D29 is changed, I need to timestamp the cell in column B of that same row. If any cell in the range of G7-G29 is changed, I need to timestamp the cell in column E of that same row.
I've been trying to use the Worksheet_Change event since it provides the range of the cell that was changed, but maybe that's not the right one to use? I'm also updating the source data for a chart using the Worksheet_Change event, and I was thinking that might be having an effect on my timestamp results (extra cells are being timestamped).
Any thoughts on how to go about this?
Now...whenever a value is entered into any of those editable cells in the range defined above, I need to insert the current system time into a cell on the same row, but in either column B or E (depending on which column the change was made).
So, if any cell in the range of C7-D29 is changed, I need to timestamp the cell in column B of that same row. If any cell in the range of G7-G29 is changed, I need to timestamp the cell in column E of that same row.
I've been trying to use the Worksheet_Change event since it provides the range of the cell that was changed, but maybe that's not the right one to use? I'm also updating the source data for a chart using the Worksheet_Change event, and I was thinking that might be having an effect on my timestamp results (extra cells are being timestamped).
Any thoughts on how to go about this?