rdoulaghsingh
Board Regular
- Joined
- Feb 14, 2021
- Messages
- 105
- Office Version
- 365
- Platform
- Windows
Good evening experts!
I have a spreadsheet with a few hundred rows that I'm trying to capture reviews on. Column A cells has "Reviewed" (using a label currently) all the way down. I'm open to suggestions if there is a better/easier method instead of using labels for click events.
I'm looking for a VBA code that will insert the username and the last reviewed date and time to the cell immediately to the right (column B) of the "Reviewed" cell when "Reviewed" is clicked. Here's the catch: I want it to append new users if the user does NOT exists in the cell, and if the user already exists I want it to keep the current user, but overwrite the last reviewed time. I'm currently using
for obtaining the username and last reviewed time. Is there any way to do this?
Thanks in advance!
I have a spreadsheet with a few hundred rows that I'm trying to capture reviews on. Column A cells has "Reviewed" (using a label currently) all the way down. I'm open to suggestions if there is a better/easier method instead of using labels for click events.
I'm looking for a VBA code that will insert the username and the last reviewed date and time to the cell immediately to the right (column B) of the "Reviewed" cell when "Reviewed" is clicked. Here's the catch: I want it to append new users if the user does NOT exists in the cell, and if the user already exists I want it to keep the current user, but overwrite the last reviewed time. I'm currently using
VBA Code:
.Value = "User: " & Environ("username") & " Last reviewed: " & Now()
Thanks in advance!