AutoFilter

Lukums

Board Regular
Joined
Nov 23, 2015
Messages
195
Hey guys,

Need to say if all this auto filter is met then - field:=27 (TH SENT)

Possible? Even though I'm ensuring it's blank.

Sub THSchedule()


Application.ScreenUpdating = False
Dim GutterWS As Worksheet ''DESTINATION SHEET''
On Error Resume Next
Set TB = ActiveWorkbook
Set OB = ActiveWorkbook
erow = OB.Sheets("TH6475").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Row '' DESTINATION SHEET''
TB.Activate
Sheets("MasterBOM").Range("H:Y").EntireColumn.Hidden = False ''SCHEDULER SHEET''
With Sheets("MasterBOM").UsedRange
'.AutoFilter
.AutoFilter Field:=23, Criteria1:="TH64075"
.AutoFilter Field:=25, Criteria1:="SEND THESE"
.AutoFilter Field:=27, Criteria1:="="
.Offset(1).Resize(.Rows.Count - 1).SpecialCells(xlCellTypeVisible).Copy OB.Sheets("TH6475").Cells(erow, 1)
'.AutoFilter
End With
Sheets("MasterBOM").Range("N:U").EntireColumn.Hidden = True
Sheets("MasterBOM").Range("V:Y").EntireColumn.Hidden = False
On Error GoTo 0


Call MarkAsManufactured


End Sub

Sorry really lost...probably another simple one. Would love an explaination also on the solution so I can better educate myself

Thanks all!
 

Some videos you may like

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Watch MrExcel Video

Forum statistics

Threads
1,128,092
Messages
5,628,623
Members
416,329
Latest member
phxdan79

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