Can anyone tell me why this doesn't work? I assume it has to do with the double quotes. Tot is defined as a string. new row is defined as an integer.
Tot = "=IF(AND($E" & newrow & "=" - ",$F" & newrow & "=" - ")," - ",$D" & newrow & "*$G" & newrow & ")"
Thanks!
Tot = "=IF(AND($E" & newrow & "=" - ",$F" & newrow & "=" - ")," - ",$D" & newrow & "*$G" & newrow & ")"
Thanks!