I want write in cell A1 with a email address of the user who have log in the PC.
please, could you let me know the macro to do it ? ..
Thanks,
Naris
I want write in cell A1 with a email address of the user who have log in the PC.
please, could you let me know the macro to do it ? ..
Thanks,
Naris
You can get the username. How that relates to their email address is something that you have to "lookup".
[VBA]Sub Test
Range("A1").Value=Environ("username")[/VBA]
Thanks you very much
Naris