this original code works fine for column A to CX:
Range("E8").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(R[-7]C,[Sales.xls]SummaryReport!R8C1:R650C11,4,0)/1000"
Range("E8").Select
Selection.AutoFill Destination:=Range("E8:CX8"), Type:=xlFillDefault
However, once I change CX to CZ, the formula return #N/A for cell CY8 and CZ8. Other cells works fine. Don't know what's the reason causing it.
Range("E8").Select
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(R[-7]C,[Sales.xls]SummaryReport!R8C1:R650C11,4,0)/1000"
Range("E8").Select
Selection.AutoFill Destination:=Range("E8:CX8"), Type:=xlFillDefault
However, once I change CX to CZ, the formula return #N/A for cell CY8 and CZ8. Other cells works fine. Don't know what's the reason causing it.