Named Argument Not Found Error at Operator:=xlOr

siddo

Board Regular
Joined
May 26, 2020
Messages
106
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
VBA Code:
Dim rcit As Range With Range("F1", Range("F" & Rows.Count).End(xlUp)) Set rCrit = .Offset(, .Columns.Count + 1).Resize(9, 1) rCrit.Cells(2).Formula = "=OR(AND(FIND(""SOC"",F2),FIND(""Pre-Imp"",F2)),AND(FIND(""Pre-Imp"",F2),FIND(""SOC"",F2)))" rCrit.Cells(3).Formula = "=OR(AND(FIND(""ISO"",F2),FIND(""Pre-Imp"",F2)),AND(FIND(""Pre-Imp"",F2),FIND(""ISO"",F2)))" rCrit.Cells(4).Formula = "=OR(AND(FIND(""TISAX"",F2),FIND(""Pre-Imp"",F2)),AND(FIND(""Pre-Imp"",F2),FIND(""TISAX"",F2)))" rCrit.Cells(5).Formula = "=OR(AND(FIND(""SSAE16"",F2),FIND(""Pre-Imp"",F2)),AND(FIND(""Pre-Imp"",F2),FIND(""SSAE16"",F2)))" rCrit.Cells(6).Formula = "=OR(AND(FIND(""Readiness"",F2),FIND(""SOC"",F2)),AND(FIND(""Readiness"",F2),FIND(""ISO"",F2)))" rCrit.Cells(7).Formula = "=OR(AND(FIND(""Readiness"",F2),FIND(""TISAX"",F2)),AND(FIND(""Readiness"",F2),FIND(""SSAE16"",F2)))" rCrit.Cells(8).Formula = "=OR(FIND(""#$SR"",F2),FIND(""#$IR"",F2))" .AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=rCrit, Unique:=False, Operator:=xlOr End With rCrit.Cells(2).ClearContents End Sub

Request if anyone could help
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,219
Messages
6,123,678
Members
449,116
Latest member
HypnoFant

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