enter user in cell

  • Thread starter Thread starter pbs
  • Start date Start date
P

pbs

I wish to enter the logged on user to cell C11.

I ahve done this before, but my mind has gone blank, can anyone help.

Many Thanks

Peter
 
Try this one line UDF:

Public Function user() As String
user = Environ("username")
End Function
 

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

Back
Top