+ Reply to Thread
Results 1 to 6 of 6

Macro for changing number of rows

Hybrid View

  1. #1
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macro for changing number of rows

    Try this:
    Sub OrderingMacro()
        Columns("A:C").Sort Key1:=Range("C1"), Order1:=xlDescending, _
                            Key2:=Range("B1"), Order2:=xlDescending, _
                            Header:=xlYes, Orientation:=xlTopToBottom
    End Sub
    Entia non sunt multiplicanda sine necessitate

  2. #2
    Registered User
    Join Date
    03-31-2010
    Location
    New York, New York
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Re: Macro for changing number of rows

    shg, thank you thank you thank you!!!

    I'm trying to learn how to do this kind of thing on my own, but I'm obviously way inexperienced.

    Do you have any tips on reading materials or courses for someone who is trying to learn how to manipulate Macros via VBA?
    Last edited by shg; 04-01-2010 at 12:24 PM.

+ Reply to Thread

LinkBacks (?)

  1. Page
    Refback This thread
    10-04-2013, 06:09 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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