+ Reply to Thread
Results 1 to 3 of 3

Automatic timestamp and protect when data is entered multiple cells

  1. #1
    Registered User
    Join Date
    02-16-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    3

    Automatic timestamp and protect when data is entered multiple cells

    I'm looking for a timestamp to automatically appear in column D when data is entered in columns A, B, and C (so nothing appears if all 3 cells are not filled). In addition, I want those 3 cells to become password protected once data is entered.

    This is what I have in column D:
    =IF(AND(NOT(ISBLANK(A4)),NOT(ISBLANK(B4)),NOT(ISBLANK(C4))),NOW(),"")

    I have managed to get all of this to work out, except that the timestamp all have the same time and updates with the real-time instead of when it was entered.

    I have read somewhere that I may need to go to, Tools => Options => Calculation and check the Iteration Box. I have also read somewhere that I may need to go to, Data => Validation => Settings, select List under Allow and select the timestamped cells under Data. Neither have worked!

    I've attached the .xls. Please help! Thanks in Advance.
    Attached Files Attached Files
    Last edited by VBA Noob; 02-16-2009 at 09:45 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatic timestamp and protect when data is entered multiple cells

    You'll need a macro running in the background because NOW() will update everytime the sheet updates, so it isn't appropriate for a "timestamp". A macro will need to compare the 3 cells of data and insert a real timestamp for you in column D when all 3 cells are not blank.

    I would suggest you post the question in the PROGRAMMING forum "Timestamp/Protect data when 3 adjacent cells are complete".

    Those guys are awesome with the VBA. You might even post a sample workbook showing your actual layout and sample data.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-16-2009
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Automatic timestamp and protect when data is entered multiple cells

    Yeah, I wasn't sure where to post this, I'll try it over there. 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