Hi BS,
I have attached the template file.
So prety much form Sheet 1 (MAINT) I wanto filter all products with name Puma and copy the filtered data and paset it in Sheet2, row 2 next to Puma, so paste spacial, transform.
I have created a macro using record function
Sub Macro2()
'
' Macro2 Macro
Range("A2").Select
ActiveCell.FormulaR1C1 = "Puma"
Sheets("MAINT").Select
ActiveSheet.Range("$A$1:$A$12").AutoFilter Field:=1, Criteria1:="=*Puma*", _
Operator:=xlAnd
Range("A1:A11").Select
Selection.Copy
Sheets("MAINT_LINKING").Select
Range("B2").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
Range("A3").Select
End Sub
This is what I want to do but I want to automaticaly filter copy everything using a macro like this.
Thanks
Bookmarks