+ Reply to Thread
Results 1 to 5 of 5

Sort folder of excel documents by date

  1. #1
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Sort folder of excel documents by date

    Hi I have a lot of excel document in a folder. They were created at different times and not in order and have been saved in the following format.

    dd.mm.yy

    ie.

    30.07.18
    30.04.18
    29.01.18

    Is there any way oraganise them in date order?

    Thanks

    Dave

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Sort folder of excel documents by date

    Excel default is Alpha/Numeric for file listings in the Project Explorer. However, if you want to change the order, open the project explorer to that directory and click on the up or down arrows (^) (v) above the file names and dates last modified to rearrange the sequences in which they are listed.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Sort folder of excel documents by date

    Hi thank for the reply, i'm not sure I fully understand sorry. I want to just rearrange them in the folder they're in, I don't need to access them from another excel sheet (guess it's more of a windows question than an excel question). I've modified them out of order as well so only the name of the file can be used to sort them.

  4. #4
    Forum Contributor
    Join Date
    01-21-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    409

    Re: Sort folder of excel documents by date

    I managed to do this using a program called master commander for anyone that reads this thread.

  5. #5
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Sort folder of excel documents by date

    Quote Originally Posted by Throughstream View Post
    Hi thank for the reply, i'm not sure I fully understand sorry. I want to just rearrange them in the folder they're in, I don't need to access them from another excel sheet (guess it's more of a windows question than an excel question). I've modified them out of order as well so only the name of the file can be used to sort them.
    I don't know how you are using the files, if you are using the files or if you just want to be able to view the files in a certain order, but the File Explorer (my error in the previous post where i said porject explorer) is a Windows feature that allows you to view Applications, directories and folder content So if you only wanted to view the files in a certain order, then that is probably the easiest and quickest way to do it. I have a shortcut icon on my status bar but you can access the feature by clicking the windows start icon and then locate and expand 'Windows System'.
    But you seem to have resolved the issue by other means.

+ 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. Identify all embedded documents in a folder with excel spreadsheets
    By johngeorge in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2017, 09:05 AM
  2. Import tables from all Word documents within a folder into excel
    By Milk Snake in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2014, 12:03 PM
  3. Excel VBA code to read from Word documents in a folder and Print it to Excel
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-02-2013, 11:04 PM
  4. Replies: 1
    Last Post: 06-05-2012, 05:31 PM
  5. [SOLVED] [SOLVED] locking excel documents in a folder
    By hoyt in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-30-2006, 12:55 PM
  6. excel documents won't open from my documents folder
    By Paul1961 in forum Excel General
    Replies: 2
    Last Post: 01-15-2006, 01:35 PM
  7. Excel opens all files in My Documents folder
    By Dave B in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2005, 11:06 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