View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Todd huttenstine Todd huttenstine is offline
external usenet poster
 
Posts: 260
Default Network detects if Windows Username is online

hey guys

The below code will return the windows username of the
current user.

Dim UName As String * 255
Dim NN
Dim L As Long: L = 255
Dim Res As Long
Res = GetUserName(UName, L)
UName = Left$(UName, L - 1)
NN = Trim(UName)
MsgBox NN

If you know the username of a person currently signed on
the network, how can you message that user over a network
using the the windows login username?


Thank you
todd Huttnestine