Hi,
I need to insert a function into cells using VBA. For various reasons i need a variable in the function so i've used the following code:
For a = 1 to 10
activesheet.range("D1:D100").select
Selection.FormulaR1C1 = "=IF(ISERROR(SEARCH('Product Type'!D" & a & ",rc[1],1)),"""",'Product...