+ Reply to Thread
Results 1 to 2 of 2

How to get Excel to open text files by the time created not name

  1. #1
    khm6278
    Guest

    How to get Excel to open text files by the time created not name

    I have a macro that is opening a number of *.txt files. I need the macro to
    open the files in the order in which they were created (by date and time).
    By default it looks as though Excel is opening them by extension/name.
    Anybody know how to specify this?

  2. #2
    Tom Ogilvy
    Guest

    RE: How to get Excel to open text files by the time created not name

    Perhaps you could show what code you are using to open them?

    with no other information, populate an array with filenames and dates, then
    search through the array and open the files by date.

    --
    Regards,
    Tom Ogilvy


    "khm6278" wrote:

    > I have a macro that is opening a number of *.txt files. I need the macro to
    > open the files in the order in which they were created (by date and time).
    > By default it looks as though Excel is opening them by extension/name.
    > Anybody know how to specify this?


+ 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