As user by default when opening office 2003 document....

J

J. Bishop

Hi, I work in an environment to where their are many different people who use
the same machine to edit the same office document. Our documents are stored
on the server and although only one user can edit a document at a time if two
people make edits on the same computer their edits show up as the same
person. Is their a way to set up Office 2003 or at least word to always ask
for a user name when opening a document? That way multiple people can edit
one document one after the other on one computer without having to log out
and log back in of windows.
 
J

Jay Freedman

The usual assumption is that each person who uses the computer will have a
separate login (username and password), and the profile that loads when they
log in will have a registry entry that says what their Office username is;
then this problem won't occur at all.

Since you appear to be letting everyone use the same login profile, you can
instead put this macro into the Normal.dot template (see
http://www.gmayor.com/installing_macro.htm if needed):

Sub AutoOpen()
Dim LoginUserName As String

LoginUserName = _
InputBox(prompt:= _
"Please enter your user name:", _
Title:="User Name", _
Default:=Application.userName)
If Len(LoginUserName) > 0 Then
Application.userName = LoginUserName
End If
End Sub

This will ask for the user's Office username (not the login name) each time
a document is opened. It will display as the default whatever name was last
used; if this is still correct, just hit Enter or Esc to keep the same name.
Otherwise, type the new name and press Enter.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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