+ Reply to Thread
Results 1 to 4 of 4

Changing the order of shown result.

  1. #1
    Registered User
    Join Date
    05-16-2011
    Location
    montreal
    MS-Off Ver
    Excel 2003
    Posts
    19

    Changing the order of shown result.

    Hi,

    In my userform I have a search button where the result appear in listbox1, but the results appear in line order. Ex: 1A, 1B, 1C etc.

    Is there a way I can make the result appear by the column order?
    Thank you for the help.
    Last edited by Ray316; 07-22-2011 at 05:09 PM.

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Changing the order of shown result.

    Hi Ray316, you forgot to wrap your code in code tags as per Rule #3 in the forum rules located here.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Changing the order of shown result.

    Specify the SearchOrder argument of the Find as xlByColumns
    Remember what the dormouse said
    Feed your head

  4. #4
    Registered User
    Join Date
    05-16-2011
    Location
    montreal
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Changing the order of shown result.

    Hi romperstomper,
    It works.
    Thank you for the help.

+ 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