+ Reply to Thread
Results 1 to 3 of 3

reversing the order of a list

  1. #1
    Forum Contributor
    Join Date
    03-24-2007
    Posts
    107

    reversing the order of a list

    I need to write a list and have it reverse the order. For example, A, B, C, D will give me another list of D, C, B, A


    I have many list to write. The no. of entries will vary. Sometimes I will input 3 items, sometimes the list will have 17 entries.

    How do I write a program that will make the second list?

    I have attached a spreadsheet showing further of what I mean. sample reverse.xlsx
    Excel 2007

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: reversing the order of a list

    Hi rookie,

    Here is some code to do what you want: See the attached. If you want a multi column list we should improve the code.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    03-24-2007
    Posts
    107

    Re: reversing the order of a list

    Thank you for your reply. I'm looking through it now. I apologize for the accidental double post. I marked the other post as solved. I hope the website will delete it for me.

+ 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. Reversing Order of Chart
    By prr in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 12-02-2009, 05:20 AM
  2. Code for reversing print order
    By Paul Sheppard in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-15-2008, 12:03 PM
  3. Autofill- Reversing Order
    By Earl in forum Excel General
    Replies: 4
    Last Post: 07-31-2006, 05:18 PM
  4. Reversing the Order of Values in a List
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:26 AM
  5. [SOLVED] reversing row order
    By Jamie Morken in forum Excel General
    Replies: 1
    Last Post: 05-31-2005, 03:05 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