+ Reply to Thread
Results 1 to 3 of 3

Automatic Timestamp without macros?

Hybrid View

  1. #1
    Registered User
    Join Date
    05-20-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    33

    Automatic Timestamp without macros?

    Hi All,

    I am currently using the following code to add a timestamped cell comment to certain cells on a spreadsheet, to highlight when data was inserted into those particular cells...

    Private Sub Worksheet_Change(ByVal Target As Range)
        For Each c In Target
            c.ClearComments
            If c.Value > 0 And c.Column > 9 Then
                c.AddComment Application.WorksheetFunction.Text(Now, "dd/mm/yyyy HH:mm")
            End If
        Next c
    End Sub
    I would like to know if there is any way of achieving the same result, without the use of a macro?

    Thanks,

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Automatic Timestamp without macros?

    Only by either manually entering the date / time, or by using =now() then manually copying and pasting values.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,717

    Re: Automatic Timestamp without macros?

    To put today's date in a cell, hold down the CTL key and depress the ; key.
    To put the current time in a cell, hold down the CTL key, the SHIFT key and depress the : key
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. VBA Code for Automatic Timestamp
    By Mhace in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-18-2015, 02:02 AM
  2. [SOLVED] Automatic locked a timestamp
    By Mhace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2013, 10:20 PM
  3. Replies: 2
    Last Post: 12-08-2011, 04:36 AM
  4. Automatic timestamp and protect when data is entered multiple cells
    By sm0ker. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-16-2009, 05:47 PM
  5. [SOLVED] using automatic macros or object macros
    By Momo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2005, 02:06 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