login name

  1. L

    VBA to return LoginID not user name

    Morning All Below is the code I am using to return the full name of the current PC user. I am using this in a selection of workbooks to create user logs, track behavior and speed up data entry. In one project I would like to get the value for the user Login (not name). This is the initial ID...
  2. N

    Return username with VBA on Mac

    Hi! On Windows I can use the following to return the username of whoever is logged into the computer: Environ("username") But this does not work on a Mac. How can I replicate this? P.S. I found something that returns the machine unique identifier but that is not what I'm looking for.

Some videos you may like

This Week's Hot Topics

Top