Trying to paste a formula into cells of one worksheet. The formula uses COUNTIFS with criteria from another workbook and worksheet. I am using the below code, not sure why