Hello Friends,
I am using the below vba Code which is working just perfect applying formulas to range B5:B100
What I want in the vba code is that the formula to pick the second named range "fri1_actual_date" from cell A1
Is it Possible ??
I am using the below vba Code which is working just perfect applying formulas to range B5:B100
What I want in the vba code is that the formula to pick the second named range "fri1_actual_date" from cell A1
Is it Possible ??
VBA Code:
Sub ApplyFormulaToPendingTargets()
Dim ws As Worksheet
Set ws = Sheets("PENDING TARGETS")
ws.Range("B5:B1000").ClearContents
ws.Range("B5:B100").Formula = "=IFERROR(AGGREGATE(15,6,orders_ref/(((orders_design_receipt<>"""")*(fri1_actual_date=""""))*ISNA(MATCH(orders_ref,B4:B$4,0))),1),"""")"
End Sub