Get User and Computer Name(Just in Two Line Code)
Get User and Computer Name(Just in Two Line Code)
Rate Get User and Computer Name(Just in Two Line Code)
(2(2 Vote))
Set WN = CreateObject("Wscript.Network")
MsgBox "User Name: " & WN.UserName & vbCr & "Computer Name: " & WN.ComputerName
End Sub
Get User and Computer Name(Just in Two Line Code) Comments
No comments yet — be the first to post one!
Post a Comment