+ Reply to Thread
Results 1 to 6 of 6

Macro To Look at list of files in column "A" and show their last Saved Date in Column "B"

  1. #1
    Registered User
    Join Date
    01-27-2013
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    9

    Macro To Look at list of files in column "A" and show their last Saved Date in Column "B"

    Good Morning All

    I have some excel files that are updated and saved automatically overnight. - About 50 of them, in a dozen different locations.

    Is it possible to have a macro go through all the locations in column A and return their last saved date / time in column B in order to save me checking files individually?

    I did find some code on the web, but it wasn't really suitable as it was for one file only and only showed the answer in a message box.

    Many thanks in advance for any help, as you can see I'm quite inexperienced in this.

    Cheers

    Drknot

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Macro To Look at list of files in column "A" and show their last Saved Date in Column

    Hi drknot,

    Post the "I did find some code on the web, but it wasn't really suitable as it was for one file only and only showed the answer in a message box" code and I'll try and convert it for you.

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    01-27-2013
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Macro To Look at list of files in column "A" and show their last Saved Date in Column

    Quote Originally Posted by Trebor76 View Post
    Hi drknot,

    Post the "I did find some code on the web, but it wasn't really suitable as it was for one file only and only showed the answer in a message box" code and I'll try and convert it for you.

    Robert
    Thanks for the offer of help Robert

    here it is

    "MsgBox CreateObject("Scripting.FileSystemObject").GetFile("c:\folder\Filename.xls").DateLastModified"

    Cheers
    Again

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Macro To Look at list of files in column "A" and show their last Saved Date in Column

    Thanks for the offer of help Robert
    You're welcome

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert

  5. #5
    Registered User
    Join Date
    01-27-2013
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Macro To Look at list of files in column "A" and show their last Saved Date in Column

    Quote Originally Posted by Trebor76 View Post
    You're welcome

    Try this:

    Please Login or Register  to view this content.
    Regards,

    Robert

    Robert - many thanks, it works a charm, and you've made it look so simple.

    cheers again
    drknot

  6. #6
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Macro To Look at list of files in column "A" and show their last Saved Date in Column

    You're welcome and thanks for the rep

    If you could mark the thread as solved it would be appreciated.

    Regards,

    Robert

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 01-02-2014, 02:15 PM
  2. Macro to copy cells from workbook,where column C is = "num1" AND Column D ="num2"
    By jarious87 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 03:30 PM
  3. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  4. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  5. Replies: 4
    Last Post: 04-27-2013, 01:23 AM
  6. Replies: 9
    Last Post: 11-06-2012, 08:59 AM
  7. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM
  8. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM

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