+ Reply to Thread
Results 1 to 5 of 5

Timestamp macro that cannot be overwritten by another timestamp

  1. #1
    Registered User
    Join Date
    11-11-2020
    Location
    Kentucky
    MS-Off Ver
    Outlook 365
    Posts
    3

    Timestamp macro that cannot be overwritten by another timestamp

    Hello,

    I'm very new using VBA or macros, as in today new. I'm creating a spreadsheet for a standards test that needs to be timestamped. I have created a simple time stamp macro and added an icon to the quick access toolbar to click to easily add a timestamp to the cell. Now, it's very important these timestamps are never overwritten. Is there any code I can add to my existing macro that will lock the cell after the timestamp has been entered?

    My current macro looks like this:

    Please Login or Register  to view this content.
    Thanks in advance
    Last edited by xgingerkingx; 11-11-2020 at 03:20 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Timestamp macro that cannot be overwritten by another timestamp

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-11-2020
    Location
    Kentucky
    MS-Off Ver
    Outlook 365
    Posts
    3

    Re: Timestamp macro that cannot be overwritten by another timestamp

    My apologies, edited.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Timestamp macro that cannot be overwritten by another timestamp

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-11-2020
    Location
    Kentucky
    MS-Off Ver
    Outlook 365
    Posts
    3

    Re: Timestamp macro that cannot be overwritten by another timestamp

    Thank you very much!

+ 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. Timestamp Macro
    By michael.d.g in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-19-2020, 10:17 AM
  2. Insert Timestamp on same row that macro is run
    By marcosis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2017, 11:06 AM
  3. Replies: 2
    Last Post: 11-09-2016, 02:23 PM
  4. [SOLVED] VBA - Convert Date/Timestamp into American Date and Military Timestamp
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-01-2015, 03:43 PM
  5. Replies: 18
    Last Post: 02-24-2014, 06:13 PM
  6. When a timestamp doesn't behave as a timestamp
    By mredekopp in forum Excel General
    Replies: 3
    Last Post: 03-07-2011, 03:39 PM
  7. Timestamp Macro
    By alexfthe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2006, 07:45 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