+ Reply to Thread
Results 1 to 2 of 2

How do I show the date of an update?

Hybrid View

  1. #1
    Odonata
    Guest

    How do I show the date of an update?

    I'm trying to find a way to automatically show the date a cell is updated.
    I'm creating a status report where column A contains text that is updated
    frequently. I would like to find a way for column B to show a date of the
    most recent update to the column A cell.

    This is not the date the spreadsheet is updated, but just the cell in
    question.
    Thanks!

  2. #2
    Ardus Petus
    Guest

    Re: How do I show the date of an update?

    Paste following code into your worksheet's code page
    (right-click worksheet's tab, select View code)

    '----------------------------------------------------------------------------------------
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim rRange As Range
    Dim rcell As Range

    Set rRange = Intersect(Target, Columns("A"))
    If Not rRange Is Nothing Then
    For Each rcell In rRange
    rcell.Offset(0, 1) = Now
    Next rcell
    End If

    End Sub

    '----------------------------------------------------------------------------------------

    HTH
    --
    AP

    "Odonata" <[email protected]> a écrit dans le message de
    news: [email protected]...
    > I'm trying to find a way to automatically show the date a cell is updated.
    > I'm creating a status report where column A contains text that is updated
    > frequently. I would like to find a way for column B to show a date of the
    > most recent update to the column A cell.
    >
    > This is not the date the spreadsheet is updated, but just the cell in
    > question.
    > Thanks!




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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