+ Reply to Thread
Results 1 to 6 of 6

Retrieve File names from a folder with last modified username

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Retrieve File names from a folder with last modified username

    Hi Guys,

    My code is almost over, objective is need to retrieve File names with its Last Modified Date,Last Modified User,File Size into Excel...
    Everything is over but still am bottleneck to get Last Modified user's username
    Any idea on this ........thanks in advance


    Here is few piece of my code .... (code format will be in improper format dont mind that )
    Please Login or Register  to view this content.
    Last edited by arlu1201; 01-05-2013 at 05:32 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Retrieve File names from a folder with last modified username

    impossible to test, missing Module2.DirLoop, attach file
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Retrieve File names from a folder with last modified username

    @patel45:
    you do have the code for Sheet1.CommandButton2_Click? Please show it as that call happens prior to what you mention. TIA.

    Ciao,
    Holger
    Last edited by arlu1201; 01-05-2013 at 05:32 AM. Reason: Put code tags for newbie.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Retrieve File names from a folder with last modified username

    elavarasans,

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    09-11-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Retrieve File names from a folder with last modified username

    Hi Patel45
    Thanks for your reply Module2.DirLoop doesn't need for my requirement(i used just for testing the code in different way) , my code was not finished and also not in good format, it may confuse you ..... Any way if you get an idea to retrieve Username of Last Modified User for a file in a specified folder ..
    Thanks in Advance


    Please Login or Register  to view this content.

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Retrieve File names from a folder with last modified username

    Hi, elavarasans,

    AFAIR there´s no way of retrieving the name of the person which last saved the file via FSO (maybe have a look at Properties in FileSystemObject yourself). I only remember
    Please Login or Register  to view this content.
    Cia,
    Holger

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1