As shown, test1
calls FillEmptyWith
but it gives me a
Compile Error: = Expected
Could someone help?
Sub FillEmptyWith(Range, val)
For Each cell In Range
If IsEmpty(cell) Then
cell.Value = val
End If
Next cell
End Sub
Sub test1()
FillEmptyWith ((Sheets("In Force Earnix").Range("S10:S20")),"N")
End Sub