Hi guys,
I barely new with VBA and there's a problem with the code that I can't solve.
Here's the code ;
Sheets("Full list").Select
Selection.AutoFilter Field:=18, Criteria1:="OK"
ActiveSheet.ShowAllData
Selection.AutoFilter Field:=18, Criteria1:="OK"
ActiveWindow.SmallScroll ToRight:=-13
Selection.AutoFilter Field:=99, Criteria1:="OK"
Range("F6:K3000").Select
Selection.Copy
Sheets("common parts").Select
Range("F1").Select
ActiveSheet.Paste
Sheets("Full list").Select
Application.CutCopyMode = False
ActiveSheet.ShowAllData
Excel highlight me ; Range("F6:K3000").Select
as an error for now.
Does someone have an idea?
Thanks for any help
I barely new with VBA and there's a problem with the code that I can't solve.
Here's the code ;
Sheets("Full list").Select
Selection.AutoFilter Field:=18, Criteria1:="OK"
ActiveSheet.ShowAllData
Selection.AutoFilter Field:=18, Criteria1:="OK"
ActiveWindow.SmallScroll ToRight:=-13
Selection.AutoFilter Field:=99, Criteria1:="OK"
Range("F6:K3000").Select
Selection.Copy
Sheets("common parts").Select
Range("F1").Select
ActiveSheet.Paste
Sheets("Full list").Select
Application.CutCopyMode = False
ActiveSheet.ShowAllData
Excel highlight me ; Range("F6:K3000").Select
as an error for now.
Does someone have an idea?
Thanks for any help