How to get Username written in logfile (.txt) through macro
Sub LogMe()
Open "C:\temp\logfile.txt" For Append As #1
Print #1, Now, Application.UserName, "great guy that is"
Close #1
End Sub
--
HTH. Best wishes Harald
Excel MVP
Followup to newsgroup only please.
"Intruder" wrote in message
...
How can i get a Username written in logfile (.txt) through macro?
|