Automatically update a cell with last modified date and time
Solved/Closed
NazCarr
Posts
13
Registration date
Monday March 25, 2019
Status
Member
Last seen
January 26, 2021
-
May 13, 2019 at 06:06 AM
NazCarr Posts 13 Registration date Monday March 25, 2019 Status Member Last seen January 26, 2021 - May 16, 2019 at 08:01 AM
NazCarr Posts 13 Registration date Monday March 25, 2019 Status Member Last seen January 26, 2021 - May 16, 2019 at 08:01 AM
Related:
- Excel last modified date not updating
- Excel date format dd.mm.yyyy - Guide
- Excel free download - Download - Spreadsheets
- Number to words in excel - Guide
- Excel marksheet - Guide
- How to take screenshot in excel - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
552
May 14, 2019 at 12:04 PM
May 14, 2019 at 12:04 PM
Hi Naz,
Give the following code a try:
To change the date format, if necessary, go to the cell properties (Ctrl+1).
Best regards,
Trowa
Give the following code a try:
Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Range("B2:K" & Rows.Count), Target) Is Nothing Then Exit Sub Range("B1").Value = Now End Sub
To change the date format, if necessary, go to the cell properties (Ctrl+1).
Best regards,
Trowa
May 16, 2019 at 08:01 AM