TRACK CHANGES WITH USERNAME & TIME STAMP

ARW17

Board Regular
Joined
Oct 31, 2016
Messages
109
Hi! I have a table that I put into a subform so users can fill out portions of the data. The user will review the work and write in who is responsible, the credit category, cause, and notes. I want to hide the TINITIALS (username) and STAMP (time stamp). I want to use an Event, but I can't figure out where to put it. I want the TINITIALS and STAMP to change whenever someone changes something they're able to fill in. Do I want to be on the property sheet for the specific text box (like RESPONSIBLE) or do I want to be on the property sheet for the subform? And then where do I put the VBA? I've read examples of Before Update, Before Insert on the subform or On Change on the text box itself, but none are working. My plan was to use this code once I found the right place. Can you confirm whether it's right or not too?

Me!TINITIALS = Environ("username")
Me!STAMP = Now()

My subform's name is E_ENTRY_GRADE_CRED_SUB. Do I use that instead of Me!?

Thanks in advance! You guys have really come through for me in the past!


1605122996843.png
 
I don't think you can change a textbox into a checkbox on any form. Resize the textbox, move it out of the way, manually add a checkbox and bind it to the same field and see what you get.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Yes agree with Micron if you don't have the option to change it with right click magic then you have to remove the textbox control and add a checkbox control the old fashioned way ...
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,715
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top