View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
cupboy cupboy is offline
external usenet poster
 
Posts: 5
Default How to add username in excel

If you're using C#...

rangeXX.Value2 = Environment.UserName;




"Dave VB logic for excel" wrote:

Hello,

I hope you guys can help me. Im currently working in excel sheet. I would
like to know tha formula where the shee should capture the username from the
system or the licence which allocated to the user. What is the function or vb
formula?

Thank you in advanced.