I have the following code which gives a result of the current date/time in column "C" if any text/number is entered in column "G".
col = Left(Target.Address, 2)
If col = "$G" Then Target.Offset(0, -4) = Now()
I need to edit this so column "C" only displays the time/date if text in column "G" is specifically "YES".
If any other text/number is entered in column "G" then column "C" is to remain empty.
I would appreciate any suggestions or advice .
col = Left(Target.Address, 2)
If col = "$G" Then Target.Offset(0, -4) = Now()
I need to edit this so column "C" only displays the time/date if text in column "G" is specifically "YES".
If any other text/number is entered in column "G" then column "C" is to remain empty.
I would appreciate any suggestions or advice .