Funzione per la restituzione del nome utente utilizzando VBA in Microsoft Excel
La funzione seguente restituirà il nome utente per l’utente connesso, funziona sia in Windows NT che in Windows95 / 98. Public Declare Function GetUserName Lib “advapi32.dll” _ Alias “GetUserNameA” (ByVal lpBuffer As String, nSize As Long) As Long Function ReturnUserName() As String ‘ returns the NT Domain User Name Dim… Continue Reading Funzione per la restituzione del nome utente utilizzando VBA in Microsoft Excel