Results 1 to 3 of 3

Insert date whenever cell is updated (not edited)

Threaded View

  1. #1
    Registered User
    Join Date
    04-07-2014
    Location
    Berkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    52

    Insert date whenever cell is updated (not edited)

    Hello everyone

    I'm using this macro to insert the time and date into another cell whenever a cell within a column is edited. However I want to try the same thing, but with cells that are not edited manually(they are vlookup-ing to another location), so that when the vlookup returns something different than before, the date/time cell is updated.

    Formula: copy to clipboard

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Column = 40 Then
    With Target.Offset(, 1)
    .Value = Now
    .Columns.AutoFit
    End With
    End If
    End Sub


    Thanks
    Last edited by EdwardStephenson; 04-10-2014 at 05:22 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Insert automatic date and time stamp in a cell if any cell of the same row is edited
    By kdhanerawala in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-12-2012, 06:18 PM
  2. Formula to insert date stamp when range of columns edited
    By fionnuala in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-25-2012, 06:37 AM
  3. how do i insert an auto updated - date
    By moley165 in forum Excel General
    Replies: 2
    Last Post: 04-23-2012, 07:15 AM
  4. Auto-Insert Last Date Edited
    By Anita Taylor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-26-2005, 05:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1