Change to:
Code:
Range("AS34").FormulaR1C1 = "=if(" & _
Range("AS34").Offset(0, -2).Address & "<" & _
Range("AS34").Offset(0, -1).Address & ",""Turbulent"",""Laminair"")"
Note that the double quotes ("") mitigate the syntax error and in code represent a single set of quotes.
|
Last edited by Technoboy; 03-16-2009 at 05:42 AM.
Reason: Incorrect Post
|