Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Getting Username from a file
I wish to get the "last modified" and the user who modified a file. This is what I have: Sub GetAttributes() LM = FileDateTime("C:\blAH BLAH BLAH.xls") Range("A1") = LM End Sub Can someone help me with the username piece? Much appreciated -- pikapika1 ----------------------------------------------------------------------- pikapika13's Profile: http://www.excelforum.com/member.php...fo&userid=1089 View this thread: http://www.excelforum.com/showthread.php?threadid=56118 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Getting Username from a file
I use
RunUser = Environ("username") This will pull the username they use to sign into their laptop. pikapika13 wrote: I wish to get the "last modified" and the user who modified a file. This is what I have: Sub GetAttributes() LM = FileDateTime("C:\blAH BLAH BLAH.xls") Range("A1") = LM End Sub Can someone help me with the username piece? Much appreciated. -- pikapika13 ------------------------------------------------------------------------ pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892 View this thread: http://www.excelforum.com/showthread...hreadid=561182 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Getting Username from a file
see other thread
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message oups.com... I use RunUser = Environ("username") This will pull the username they use to sign into their laptop. pikapika13 wrote: I wish to get the "last modified" and the user who modified a file. This is what I have: Sub GetAttributes() LM = FileDateTime("C:\blAH BLAH BLAH.xls") Range("A1") = LM End Sub Can someone help me with the username piece? Much appreciated. -- pikapika13 ------------------------------------------------------------------------ pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892 View this thread: http://www.excelforum.com/showthread...hreadid=561182 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Username Log | Excel Discussion (Misc queries) | |||
Windows API to get network username of person with file open | Excel Programming | |||
Windows API to get network username of person with file open | Excel Programming | |||
Finding the Username of a user who has a shared Network file open. | Excel Programming | |||
Username | Excel Programming |