Adding Date Stamps when specific cells are modified

KOsborn_13

New Member
Joined
Oct 20, 2017
Messages
4
Hello. I'm brand new to the forum and have been "lurking" for a solution to my problem for a while. This subject has been discussed to a certain degree on other threads and I'm sorry if I'm reopening old wounds.
I have a worksheet that my company uses as a form. On that form, there are password protected cells that can be unlocked only by select users so that they may provide an electronic signature. Cell AF2 contains =now().

I'd like to have the "form" enter the date the electronic signature cell is modified in the adjacent cell to that persons signature.

Specifically, when cell K18 is modified by adding a signature, I'd like the date stamp to automatically appear in M18.
Subsequently, when K29 is modified, the date stamp in M29; when I37 is modified, the date stamp in T37; and finally, when I40 is modified, the date stamp in T40.

I have read that if I copy and past the =now(), it will "lock" on the date/time... but I'd like this to happen automatically when the modification is made.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
This should do what you want. Format the cells with you date stamps as desired.

right click on the tab and select view code
paste the code below
the file must be saved as a macro enabled file type such as xlsm

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("K18")) Is Nothing Then
    Range("M18") = Now()
End If
If Not Intersect(Target, Range("K29")) Is Nothing Then
    Range("M29") = Now()
End If
If Not Intersect(Target, Range("I37")) Is Nothing Then
    Range("T37") = Now()
End If
If Not Intersect(Target, Range("I40")) Is Nothing Then
    Range("T40") = Now()
End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top