O
ordnance1
Someone in the Worksheet Functions Group was good enough to provide me with
the code below. Is the any was to ammend that so the c.Value "NOT CALLED" is
only wriien to that row if cell in column A is greater 5?
Sub test()
Dim MyRange As Range
Dim c As Range
Set MyRange = ActiveSheet.Range("h1:h500")
For Each c In MyRange
If c.Value = "" Then
c.Value = "NOT CALLED"
End If
Next c
End Sub
the code below. Is the any was to ammend that so the c.Value "NOT CALLED" is
only wriien to that row if cell in column A is greater 5?
Sub test()
Dim MyRange As Range
Dim c As Range
Set MyRange = ActiveSheet.Range("h1:h500")
For Each c In MyRange
If c.Value = "" Then
c.Value = "NOT CALLED"
End If
Next c
End Sub