Results 1 to 8 of 8

Thread: Solved: Sort all files in a folder and open the latest one

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Dear snb, I have a problem with your code. Problem is coming, if in the folder name, there is some space. Say my folder is [vba]c00 = "G:\OF\Fol 1"[/vba] then I am getting following error:

    Run-time error '9':
    Subscript out of range

    Is there some workaround?

    I am using Excel-2003

    Thanks
    Last edited by arrun; 11-06-2012 at 02:46 AM.

Posting Permissions

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