+ Reply to Thread
Results 1 to 3 of 3

Updating Time when a field has been modified

  1. #1
    Joshua Vista Star
    Guest

    Updating Time when a field has been modified

    -- This one is a toughy!!!!!!!

    Goal:
    I have two colums and multiple rows. I would like to updated the first row
    with
    the time that the second row was modified.

    Problem:
    When ever the second row is modifed every-time stamp in the first colum is
    updated.

    I need to update the time in each row independently - and keep it from being
    modified or updated.

  2. #2
    David McRitchie
    Guest

    Re: Updating Time when a field has been modified

    Hi Joshua,
    To enter the time as a constant use Ctrl+Shift+colon
    To enter the date as a constant use Ctrl+Shift+semicolon

    To enter the date or time automatically when you update another column
    on the row, you can use an event macro, see
    http://www.mvps.org/dmcritchie/excel/event.htm#autotime
    ---
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    "Joshua Vista Star" <Joshua Vista [email protected]> wrote in message
    news:[email protected]...
    > -- This one is a toughy!!!!!!!
    >
    > Goal:
    > I have two colums and multiple rows. I would like to updated the first row
    > with
    > the time that the second row was modified.
    >
    > Problem:
    > When ever the second row is modifed every-time stamp in the first colum is
    > updated.
    >
    > I need to update the time in each row independently - and keep it from being
    > modified or updated.




  3. #3
    Ardus Petus
    Guest

    Re: Updating Time when a field has been modified

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

    HTH
    --
    AP

    "Joshua Vista Star" <Joshua Vista [email protected]> a écrit
    dans le message de
    news:[email protected]...
    > -- This one is a toughy!!!!!!!
    >
    > Goal:
    > I have two colums and multiple rows. I would like to updated the first row
    > with
    > the time that the second row was modified.
    >
    > Problem:
    > When ever the second row is modifed every-time stamp in the first colum is
    > updated.
    >
    > I need to update the time in each row independently - and keep it from

    being
    > modified or updated.




+ 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