How can I obtain the first and last name of the logged in user from
within VBA. I know that Environ("Username") will give the username,
but there is no such entry for the users full name.

Thanks,
~ d

Re: Obtaining full name in VBA by Dr

Dr
Thu Sep 22 10:59:04 CDT 2005


"reveriedax" <deanna.duclos@gmail.com> schrieb im Newsbeitrag
news:1127404176.826710.234720@g43g2000cwa.googlegroups.com...
> How can I obtain the first and last name of the logged in user from
> within VBA. I know that Environ("Username") will give the username,
> but there is no such entry for the users full name.
>
> Thanks,
> ~ d
>

http://www.mvps.org/access/api/api0066.htm (Get full name of the user
currently logged in to the system) should help you.

cheers,
Stephan



Re: Obtaining full name in VBA by Jonathan

Jonathan
Thu Sep 22 12:34:03 CDT 2005


"reveriedax" <deanna.duclos@gmail.com> wrote in message
news:1127404176.826710.234720@g43g2000cwa.googlegroups.com...
> How can I obtain the first and last name of the logged in user from
> within VBA. I know that Environ("Username") will give the username,
> but there is no such entry for the users full name.
>
> Thanks,
> ~ d
>

How to get the username of the current user
http://www.word.mvps.org/FAQs/MacrosVBA/GetCurUserName.htm

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org