+ Reply to Thread
Results 1 to 3 of 3

FSO folder listing - ascending order - issue with special characters

  1. #1
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    FSO folder listing - ascending order - issue with special characters

    I'm using this macro to list all sub-folders in a main folder. It uses the FSO method.

    If a folder has special characters such as shown, there is a difference between the sequence in FSO and the sorting method in Excel.
    I'm trying to use "WorksheetFunction.Match" later on but it requires "ascending order" as dictated by Excel sorting mthod, which is different to that in FSO.

    Is there a way to resolve?

    Capture.PNG

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Un-Do Re-Do; 09-22-2020 at 01:54 AM.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,903

    Re: FSO folder listing - ascending order - issue with special characters

    Can't you just sort the range at the end?
    Rory

  3. #3
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Re: FSO folder listing - ascending order - issue with special characters

    Yes I think I'll have to.
    Cheers.

+ 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. [SOLVED] issue to generate unqiue number with Ascending Order
    By majidsiddique in forum Excel General
    Replies: 4
    Last Post: 04-23-2020, 12:42 AM
  2. [SOLVED] Date Ascending Order and other data alphabetic order
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2019, 08:12 AM
  3. [SOLVED] Special ascending sorting for the same data groups
    By terryhenderson in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-01-2017, 07:50 AM
  4. [SOLVED] Data validation special case (alphanumeric ascending order)
    By torers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-30-2015, 06:25 AM
  5. [SOLVED] Dealing with Special Characters in File or Folder Names
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-30-2015, 09:40 AM
  6. [SOLVED] Regex Replacing Formulas: Issue with Special Characters
    By k64 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2014, 10:17 AM
  7. Replies: 13
    Last Post: 12-19-2013, 11:06 PM

Tags for this Thread

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