I placed that code in a worksheet with the user name as placed in the
excel - Tools - Options - General Tab - User "xxx xxxx",
but it seems to not register the name as the user.
Is that how you can diplay the user name ?
Corey
--
Regards
Corey
Gary Keramidas said:
this may work:
Private Sub Worksheet_Activate()
If UCase(Environ("UserName")) = "COREY" Then ' put the login name here
ActiveWindow.Zoom = 85
Else
Environ("UserName") is the login name the person used to login to the network,
not the excel username. try that and see what happens
--
Gary
Corey said:
Thanks for the reply Gary.
I placed that code in a worksheet with the user name as placed in the excel -
Tools - Options - General Tab - User "xxx xxxx",
but it seems to not register the name as the user.
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.