Hi
Im trying to have text enter cell depending on the result of 2 cells in columns D & F being true
so if D2 = VM: and F >= 0 result in R2 = My text
so far I have the below code which keeps failing please help been stuck on this for 2 hours now
Sub IM()
Dim rng As Range
Dim I As Long
Set rng = Range("A2:A100")
For Each cell In rng
If Range("D2:D100") = "IM:" And Range("F2:F100") >= 0 Then??
cell.Offset(0, 15).Value = "My Text"
End If
Next
End Sub
There are 100 rows of data
Im trying to have text enter cell depending on the result of 2 cells in columns D & F being true
so if D2 = VM: and F >= 0 result in R2 = My text
so far I have the below code which keeps failing please help been stuck on this for 2 hours now

Sub IM()
Dim rng As Range
Dim I As Long
Set rng = Range("A2:A100")
For Each cell In rng
If Range("D2:D100") = "IM:" And Range("F2:F100") >= 0 Then??
cell.Offset(0, 15).Value = "My Text"
End If
Next
End Sub
There are 100 rows of data