Hello
The code below showing error when selecting multiple columns when defining the last filtered cell (LR).
The code below showing error when selecting multiple columns when defining the last filtered cell (LR).
VBA Code:
Dim LR As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
Range("A1:P" & LR).SpecialCells(xlCellTypeVisible).Select
ActiveSheet.Range("$A$1:$BZ$" & LR).AutoFilter Field:=72, Criteria1:=Array( _
"WR"), Operator:= _
xlFilterValues
ActiveSheet.Range("$A$1:$BZ$" & LR).AutoFilter Field:=53, Criteria1:= _
"BMB"
ActiveSheet.Range("$A$1:$BZ$" & LR).AutoFilter Field:=54, Operator:= _
xlFilterAutomaticFontColor
Range("A1:A & LR, AE1:AF & LR").Select
Range("A1:A & LR, AE1:AF & LR, AV1:AW & LR").Select
Range("A1:A & LR, AE1:AF & LR, AV1:AW & LR, BQ1:BT & LR").Select
Selection.Copy