Cell should display, login name.

  • Thread starter Thread starter Ranjit kurian
  • Start date Start date
R

Ranjit kurian

I have a excel sheet which is used by five to six people,i need my cell to
view the person name whoever open the excel file, whether its in readonly or
not, it should reflect the person name....

Only the login person name should display not everybodys
 
As far as I know the nearest you can get to Login Name can be give by:

Range("c6").Value = Environ("username")
Range("c7").Value = Environ("ComputerName")

Put these in the worksheet open event.

Sam
 

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

Similar Threads


Back
Top