gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,341
- Office Version
- 365
- Platform
- Windows
I need to add the date to a cell that I am using as a Unique Identifier. I want to use the date so I need to transform how it appears in the cell.
example for today, which would be 3/29/2021 16:58 what I am trying to populate the cell with is 103291658 (just the last digit from the year so 2021 become 1).
I also want to incorporate the users initials using CurrentUser = Environ("UserName") . Here the user the user will always be there first name and last name with a dot in-between (example Joe.Smith)
in the end the code would produce JS103291658 in a cell
Any help is appreciated. Thank you!
example for today, which would be 3/29/2021 16:58 what I am trying to populate the cell with is 103291658 (just the last digit from the year so 2021 become 1).
I also want to incorporate the users initials using CurrentUser = Environ("UserName") . Here the user the user will always be there first name and last name with a dot in-between (example Joe.Smith)
in the end the code would produce JS103291658 in a cell
Any help is appreciated. Thank you!