Re: Getting Username from a file Part 2

Tech-Archive recommends: Speed Up your PC by fixing your registry



Sorry, misunderstood your question... you are correct that will give
you the name of ther person currently using your application...it won't
pull the name of ther person on the file...I'll have to research a
little to do your scenario...sorry about that.

pikapika13 wrote:
I received the response below. After testing it out..I can't get the
username of a specific file in a folder. I only get the username of
myself.

*******************************

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


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=10892
View this thread: http://www.excelforum.com/showthread.php?threadid=561189

.



Relevant Pages

  • Re: Getting Username from a file
    ... RunUser = Environ ... This will pull the username they use to sign into their laptop. ... pikapika13 wrote: ...
    (microsoft.public.excel.programming)
  • [SOLVED] Re: can a session be used in a query?
    ... I have the session working, and can echo it to see that .. ... in the query to pull only that users data I also on the login page where I ... the query UserName = $UserName I get an undefined variable error... ...
    (php.general)
  • Re: can a session be used in a query?
    ... I have the session working, and can echo it to see that .. ... in the query to pull only that users data I also on the login page where I ... the query UserName = $UserName I get an undefined variable error... ...
    (php.general)
  • Re: [PHP] Authentication
    ... I want to pull the NT ... If you can find a JavaScript function to snoop the username, ... It's meaningless in that any user can buy a PC and set up any username ... It's far far far too private, because it's none of your business to ...
    (php.general)
  • Re: Searching through an array
    ... It's only Usenet, no one dies. ... I actually did adjust the query to pull just the username (for ...
    (comp.lang.php)