S
swieduwi
I have searched the forum several way to resolve my issue and the onl
solutions were as follows:
PHP code
-------------------
Public Function UserName()
UserName = Environ("username")
'UserName = Computer("UserName")
End Function
MsgBox Environ(”username”)
Option Explicit
Function NetworkUserName() As String
Dim response
NetworkUserName = Environ("Username")
End Function
-------------------
Problem is that I get a #REF! and #NAME! instead of the user names
I am using Excel 2000 (I can not upgrade, Government PC) pus we need i
to support Excel 2000 - present versions.
thank
solutions were as follows:
PHP code
-------------------
Public Function UserName()
UserName = Environ("username")
'UserName = Computer("UserName")
End Function
MsgBox Environ(”username”)
Option Explicit
Function NetworkUserName() As String
Dim response
NetworkUserName = Environ("Username")
End Function
-------------------
Problem is that I get a #REF! and #NAME! instead of the user names
I am using Excel 2000 (I can not upgrade, Government PC) pus we need i
to support Excel 2000 - present versions.
thank