I am stuck again. I need to be able to set a formula with VB that contains variables for the row number. Every effort comes up with "Expected End of Statement" errors. Here is (one of ) the formula's that work fine if placed directly via Excel:
I have been attempting things along these lines:
No matter how I slice and dice, can't get past multiple errors. btw, I am calling
earlier in the script and it works fine in all other parts of the script.
Another formula giving me the same fits:
what am I doing wrong?
Code:
=IF(OR(T323="",V323<>""),"",IF(MOD(TODAY()-T323,7)=0,"Renew",""))
I have been attempting things along these lines:
Code:
Cells(crow, "U:U").Formula = "=" "IF(OR(("T:T", crow)="",("V:V", crow)<>""),"",IF(MOD(TODAY()-("T:T", crow),7)=0,"Renew",""))"
No matter how I slice and dice, can't get past multiple errors. btw, I am calling
Code:
crow = ActiveCell.Row
Another formula giving me the same fits:
Code:
=IF(T322,IF(AND(T322>0,W322<>""),"",(TODAY()-T322)),"")
what am I doing wrong?