Automatically update a cell with last modified date and time
Solved/Closed
                    
        
                    NazCarr
    
        
                    Posts
            
                
            12
                
                            Registration date
            Monday March 25, 2019
                            Status
            Member
                            Last seen
            January 26, 2021
            
                -
                            May 13, 2019 at 06:06 AM
                        
NazCarr Posts 12 Registration date Monday March 25, 2019 Status Member Last seen January 26, 2021 - May 16, 2019 at 08:01 AM
        NazCarr Posts 12 Registration date Monday March 25, 2019 Status Member Last seen January 26, 2021 - May 16, 2019 at 08:01 AM
        Related:         
- Insert last modified date in excel cell without macro
- Insert last modified date and time in excel cell - Best answers
- How to change last modified date in excel - Best answers
- Excel online macros - Guide
- Insert check mark in word - Guide
- Insert gif in excel - Guide
- Insert key - Guide
- Excel mod apk for pc - Download - Spreadsheets
1 response
                
        
                    TrowaD
    
        
                    Posts
            
                
            2921
                
                            Registration date
            Sunday September 12, 2010
                            Status
            Contributor
                            Last seen
            December 27, 2022
            
            
                    555
    
    
                    
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