I am trying to calculate values from two different worksheets onto one sheet. Below is the code I am trying to use. What am I doing wrong?
Range("P2:P2515").AutoFilter field:=16, Criteria1:="=SUBTOTAL(9,P2:P2515)" - Worksheets("ITBM Summary").Range("C26").Value
Range("P2:P2515").AutoFilter field:=16, Criteria1:="=SUBTOTAL(9,P2:P2515)" - Worksheets("ITBM Summary").Range("C26").Value