LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Auto Updating the Logged in User

I am using a some excel sheets located on a network server and would like to
make it so one of the fields lists the logged in user as soon as the sheet is
open. I found this VBA Macro in one of the past posts:

Function UserName()
UserName = Environ("UserName")
End Function

This function displays the user but does not auto update when I open the
sheet. I have to double click on the name for it to update the user.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an Excel Database for my Logged Time MsSnowy Excel Worksheet Functions 2 August 9th 07 07:46 PM
Regarding auto updating Macro sumi1 Excel Discussion (Misc queries) 0 July 3rd 07 07:58 AM
Sharing Problems- users keep reappearing even though logged out. Gai Excel Discussion (Misc queries) 0 February 23rd 07 02:53 AM
Auto Updating DarklyCute1 Excel Worksheet Functions 1 August 13th 06 11:20 PM
How do you reference the logged on user name in excel? Taurus Excel Discussion (Misc queries) 2 January 24th 06 07:38 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"