Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 10-17-2017, 06:31 AM
Phil H Phil H is offline Auto populate cell with today's date Windows XP Auto populate cell with today's date Office 2010 64bit
Advanced Beginner
Auto populate cell with today's date
 
Join Date: Jun 2010
Posts: 81
Phil H is on a distinguished road
Default Simplified Test Worksheet

Debaser, Created a simple test worksheet with the below code - still does not work.

Code:
 
Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cell                  As Range
    On Error GoTo oops
    If Not Intersect(Target, Range("B3:E5")) Is Nothing Then
        Application.EnableEvents = False
        For Each cell In Intersect(Target, Range("B3:E5")).Cells
            Cells(cell.Row, "F").Value = Date
        Next cell
    End If
oops:
    Application.EnableEvents = True
End Sub
Attached Files
File Type: xlsx AutoDateUpdate.xlsx (8.2 KB, 15 views)
Reply With Quote
 

Tags
autopopulate, today



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto populate cell with today's date Auto-enter today's date with New Order Macro button? barbd777 Excel Programming 6 04-08-2016 01:53 PM
Auto populate cell with today's date auto cell populate Stevejd58 Excel 14 05-13-2013 02:22 AM
Creating an Auto-Calc'd Date? Today+7 Days? SoCalTelephone Word 0 10-06-2010 10:27 AM
How can I make a cell color RED under the Today's date cell? Learner7 Excel 2 07-08-2010 12:52 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft