M
Martin
Hello,
I have this code that gets the username:
Function UserName() As String
UserName = Environ("UserName")
End Function
I call this code in a cell as follows:
="Summary for " & VLOOKUP(UserName(),Sheet1!B34:C100,2,FALSE)
The workbook is a shared workbook and this works fine for me however it
doesnt update for any other user. When they open it, if they click in the
formula bar of the cell and press enter then it updates.
Does anyone know how to update the cell automatically?
Thanks in advance,
Martin
I have this code that gets the username:
Function UserName() As String
UserName = Environ("UserName")
End Function
I call this code in a cell as follows:
="Summary for " & VLOOKUP(UserName(),Sheet1!B34:C100,2,FALSE)
The workbook is a shared workbook and this works fine for me however it
doesnt update for any other user. When they open it, if they click in the
formula bar of the cell and press enter then it updates.
Does anyone know how to update the cell automatically?
Thanks in advance,
Martin