Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to get Username written in logfile (.txt) through macro

How can i get a Username written in logfile (.txt) through macro?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default 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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how we can run macro after a written text in a column rich_jonathan Excel Discussion (Misc queries) 2 March 21st 08 10:29 PM
Is there a macro or function to convert values to it written text Dang Tran Excel Worksheet Functions 1 April 19th 06 11:17 PM
Create .NET object written in C# in Excel Macro Tom Chau Excel Discussion (Misc queries) 0 April 11th 06 07:38 AM
I have never written a macro wickd03 Excel Discussion (Misc queries) 2 March 27th 06 05:34 AM
I have never written a macro wickd03 Excel Discussion (Misc queries) 0 March 26th 06 11:42 PM


All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"