Hi, Who can help me with an IF function in VBA. I have tried the following, but that is giving an error:
Sub RunScript(ByVal angle As Object, ByVal Cl As Object)
''' <your code>
If (angle < 22) Then Cl Else 0 End If
''' </your code>
End Sub
Cheers, Bas
