sort macro

  1. D

    VBA array to sort and display information

    Hi all, I have a sheet with information and i use the sort method to display the information i would like to see on top. This works for a few but sometimes displays the sort results in rows 2000 onwards instead of displaying it on top. Could someone help me see why? Sub ofinumber() ' '...
  2. J

    Sorting macro skips the first row and begins sorting the second

    A simple sort routine is being used across a number of reports, but there's a few instances where the sort begins on the second row (row 13) and the not the first (row 12). It's strange, because the same code works fine in the majority of cases. Any ideas? Thanks in advance...
  3. A

    Macro to sort by 2 attributes

    I am trying to sort data first by what is in column A and then by what is in column E, in respect to column A. For example, column A has 120 rows listing 6 types of animals with varying times of repetition, and column E has the dates each animal was adopted, with varying times of repetition. I...
  4. B

    Auto Sort Macro Error, Office 365

    I have an auto sort macro that arranges entries based on the date placed in the column. Sub Sort_Macro() Range("A25:O2000").Sort Key1:=Range("A26"), Order1:=xlDescending, Header:=xlYes, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal End Sub...
  5. Z

    Identifying the location of a Form Button

    Hello, I am looking for some code which will return the location of the form button which is being clicked on to activate the macro. I would like to avoid using an active.x button if at all possible. In this way I can use the same macro on a column of buttons to trigger an action based on...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top