Good Afternoon,
I looked around and pieced together this code that when a formula result changes in C3 it will put the current date in D3 to record the change. Now I am trying to figure out how to do this for C4 to D4, D5 to D5 and so on until C27 and D27. Could someone please help me with this?
Thank you for any help or suggestions.
I looked around and pieced together this code that when a formula result changes in C3 it will put the current date in D3 to record the change. Now I am trying to figure out how to do this for C4 to D4, D5 to D5 and so on until C27 and D27. Could someone please help me with this?
Code:
Option Explicit
Public C3ValueOld As Variant
Private Sub Worksheet_Calculate()
If Range("C3").Value <> C3ValueOld Then
Range("D3").Value = Now()
C3ValueOld = Range("C3").Value
End If
End Sub
Thank you for any help or suggestions.