title: Secure Timestamp - VBA
body: <p>I want to create a secure timestamp on my Excel sheet. The VBA I am using will automatically add the current users user name, the time, and the date when a user puts information into column A. So if the users puts something into cell A1 then B1 automatically gets filled with their username and C1 gets filled with the time and date. The only problem is that this method isn’t secure because the user could alter the information after it is automatically populated. I would like to add code to this VBA so it will lock all three cells after the information is populated.</p>
  
  <p>I was planning on using the Protect Sheet feature and only allowing users to “Select unlocked cells” So if the VBA could auto lock the cells then the users would not be able to alter the information.</p>
  
  <p>Moreover I have used Me.Unprotect before changing cells and Me.Protect after that still it is not working </p>
  
  <p>Any help would be much appreciated!</p>