.sortfields.add2

  1. H

    Sorting macro

    The problem here is I am poor at creating sorting macros, and use the recorder, and tried to implement a variable for the bottom row. This is an easy fix, right? I am getting error for this, "doesn't support this property or method". The first error is in Bold below. B_Row is defined just...
  2. jbesclapez

    VBA difference in Sort with: Add2 and Add (.SortFields.Add2 VS .SortFields.Add)

    Hello, I sent a macro to another computer only to realize that it did not work because of a Sort issue in the code. With ActiveWorkbook.Worksheets("APP").Sort .SortFields.Clear .SortFields.Add2 Key:=Range("B2:B" & LastA), Order:=xlAscending .SortFields.Add2 Key:=Range("A2:A" &...
  3. jbesclapez

    Why in this macro there is telling Error104 Select methode of range class failed

    Hi, I made this macro and get an error on this line Worksheets("Temp").Range("A1").SelectI run the macro from the sheet Q-Simple. I dont know why there is this error because if I select the sheet, than that means it is activated... so why this error. It is so basic... Please give me a clue...
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

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
Top