Record the username of a shared file

lab_harts

New Member
Joined
Jul 16, 2012
Messages
11
Hi...I'm trying to make a time record for a certain number of employees...I hope to make an shared excel file, wherein they will use it as their time IN/OUT...I'll just put buttons for them to just click IN/OUT...

A B (in) C (out) D
Employee1 (click button) (click button) username of the one who clicked the button
Employee2 (click button) (click button) "
Employee3 (click button) (click button) "

But, to make sure that the same employee is the one who clicked the button (using his/her station), I want to capture/record their name on that particular row...is there any way to do this?...thanks in advance!
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Sixthsense

Active Member
Joined
Nov 19, 2012
Messages
385
Use VBA Environ() function to identify the user Environment

Code:
environ("Username")
 

Watch MrExcel Video

Forum statistics

Threads
1,123,481
Messages
5,601,918
Members
414,482
Latest member
morkar

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
Top