+ Reply to Thread
Results 1 to 2 of 2

Adding Time To Date Stamp

  1. #1
    Registered User
    Join Date
    11-09-2010
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    8

    Adding Time To Date Stamp

    Hi,

    Is there anyway to add a time stamp along with the below DATE stamp code and protect the cell from changes?

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("a:a")) Is Nothing Then
    Target.Offset(0, 1) = Date
    End If
    End Sub

    Thanks

  2. #2
    Registered User
    Join Date
    11-09-2010
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Adding Time To Date Stamp

    I figured it. I changed the Date coding to Now and formatted the cell. Now is there a way to protect the cell from being changed once the date is entered?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding time (more than 24 hours) to date time stamp
    By sidapt in forum Excel General
    Replies: 6
    Last Post: 01-06-2014, 04:08 AM
  2. [SOLVED] Extract a time from a cell with date and time stamp and then perform calculations
    By Marcos Aristotelous in forum Excel General
    Replies: 3
    Last Post: 10-31-2012, 04:36 AM
  3. Excel 2007 : Adding date stamp from another cell
    By david rose in forum Excel General
    Replies: 2
    Last Post: 04-18-2012, 05:59 AM
  4. adding a time stamp in a cell
    By alex148 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-10-2008, 08:57 AM
  5. Replies: 1
    Last Post: 04-24-2006, 05:35 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