Userid

M

Marvin Buzz

I need to determine the Windows login ID of my current user to determine
whether (s)he is authorized to execute certain macros. How would I get that
information programmatically?

Thanks
 
R

Rick Rothstein \(MVP - VB\)

You can get that by executing this function call within your code...

Environ("USERNAME")

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top