Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 336
Default Update cell automatically

Hello,

I have some code that gets the username which is as follows:

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

I call this code within a cell formula on my main sheet, the cell text is as
follows:

="Summary for " & VLOOKUP(UserName(),Sheet1!B34:C100,2,FALSE)

The workbook is a shared workbook and this works fine for me but whenever
someone else opens the workbook the cell doesnt update to their username.
However when they enter the cell in the formula bar and press enter the cell
updates.

Does anyone know how I can get the cell to update automatically?

Thanks in advance,

Martin
Reply
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
Cell update - Automatically Apoorva Excel Discussion (Misc queries) 1 June 12th 08 11:39 AM
Cell doesn't update automatically even when Calculations are on Au J@Y Excel Discussion (Misc queries) 3 June 21st 07 08:48 PM
Automatically update a cell Adriana Excel Worksheet Functions 2 June 8th 07 04:23 AM
Automatically update cell value Kaitlin.uk Excel Discussion (Misc queries) 2 February 12th 07 11:57 AM
Referenced cell does not automatically update wannaboardx Excel Worksheet Functions 3 July 26th 05 08:34 PM


All times are GMT +1. The time now is 07:50 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"