field=7

  1. J

    VBA autofilter field using dynamic range

    Hello all, If I have the following line of VBA, can I make the "AutoFilter Field:=7" number dynamic? ActiveSheet.Range("Data_column_headers").AutoFilter Field:=7, Criteria1:="=" Ideally I would place my named range in there as my columns move around. Thanks!
  2. B

    VBA table filter not working..

    Hi This part of my code applies a greater than or equal to filter successfully; If ActiveSheet.Range("G3").Value <> "" Then .AutoFilter Field:=7, Criteria1:=">=" & ActiveSheet.Range("G3").Value End If But I want it to be equal to, but when I change it, it doesn't...
  3. M

    Macro Autofilter by today date?

    How to use today formula in below coding to get all the records before today's date? ActiveSheet.Range("$A$2:$M$377").AutoFilter Field:=7, Criteria1:="50" "<29.1.2011", Operator:=xlAnd

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