to set rownumber
You are welcome! Thanks for the feedback!
Stefi
€˛pol€¯ ezt Ć*rta:
Thanks too much, it is working fine
"Stefi" wrote:
Try this:
ActiveCell.FormulaR1C1 = "=IF(COUNTIF([item.xls]item!C2,
RC7),VLOOKUP(RC7,[item.xls]item!C2:C12,11,0))"
Regards,
Stefi
€˛pol€¯ ezt Ć*rta:
ActiveCell.Formula = "=IF(COUNTIF([item.xls]item!B:B,
G7),VLOOKUP(G7,[item]item!B:L,11,0))
In the above formula the the G7 value shoulbe changed with G and active row
number
example
if current active row =3 then G7 should be changed into G3
if current active row =8 then G7 should be changed into G8
Please help ro rewrite the formula
Pol
|