Hello Kedar Agarkar
You will need a little VBA to achieve this.
Insert a new module into your workbook VBAProject and paste the following:
Function GetUSerLogged()
On Error Resume Next
GetUSerLogged = CreateObject("WScript.Network").UserName
If Err < 0 Then
GetUSerLogged = "Not available"
Err.Clear
On Error GoTo 0: End If
End Function
Then in your spreadsheet, formulae:
=GetUserLogged()
HTH
Cordially
Pascal
"Kedar Agarkar" a écrit dans le message de news:
...
Hi,
I need to get the Windows logged in user name in the formula. Any hint
how to get this?
Thanks
- Kedar Agarkar