Thread: Network logon
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JP Ronse JP Ronse is offline
external usenet poster
 
Posts: 174
Default Network logon

Hi,

Some time ago, someone replied with a method to get the network logon and
used createobject. It has the same functionality as

Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" _
(ByVal lpBuffer As String, nSize As Long) As Long

Can someone refresh my mind. TIA.

With kind regards,

JP