ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Determining User's Windows Login Name (https://www.excelbanter.com/excel-programming/359315-determining-users-windows-login-name.html)

Chaplain Doug

Determining User's Windows Login Name
 
Excel 2003. How may I programmatically determine the Windows login name of
the user currently using a workbook? Thanks for the help.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org

Gary Keramidas

Determining User's Windows Login Name
 
use this

Environ("UserName")

--


Gary


"Chaplain Doug" wrote in message
...
Excel 2003. How may I programmatically determine the Windows login name of
the user currently using a workbook? Thanks for the help.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org




Jim Thomlinson

Determining User's Windows Login Name
 
msgbox environ("UserName")
--
HTH...

Jim Thomlinson


"Chaplain Doug" wrote:

Excel 2003. How may I programmatically determine the Windows login name of
the user currently using a workbook? Thanks for the help.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org


Chaplain Doug

Determining User's Windows Login Name
 
Thank you.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org


"Jim Thomlinson" wrote:

msgbox environ("UserName")
--
HTH...

Jim Thomlinson


"Chaplain Doug" wrote:

Excel 2003. How may I programmatically determine the Windows login name of
the user currently using a workbook? Thanks for the help.
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org



All times are GMT +1. The time now is 02:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com