sorry i may not explain correctly
ok i will upload macros
1)
Function FeedProduct(x As String)
ActiveWorkbook.Worksheets("Feed").Range("P1") = x
End Function
2)
Function Area(y As String)
ActiveWorkbook.Worksheets("Feed").Range("O1") = y
End Function
3)
Public Sub FeedTrend()
Application.ScreenUpdating = False
Sheets("DB").Activate
Selection.AutoFilter
ActiveSheet.Range("$j$1:$Bj$300").AutoFilter Field:=10, Criteria1:="TRUE"
ActiveSheet.Range("$k$1:$Bk$300").AutoFilter Field:=11, Criteria1:="TRUE"
' Selection.AutoFilter
Range("C2:I500").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("Feed").Select
Range("O4").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheets("DB").Activate
' Range("A1:K300").unSelect
ActiveSheet.Range("$A$1:$k$300").AutoFilter Field:=1
Selection.AutoFilter
Range("A1").Select
Application.CutCopyMode = False
Sheets("Feed").Select
Range("E4").Select
Application.ScreenUpdating = True
End Sub