One more question...
For Each Cell In Range("Contact")
If Cell.Value = "I&S" Then
Cell.Offset(0, 1).Value = "No"
Cell.Offset(0, 2).Value = "Yes"
end if
The code works fine, but is it possible to include both outcomes in one line without a block if?
something like - If Cell.Value = "I&S" Then Cell.Offset(0, 1).Value = "No" And Cell.Offset(0, 2).Value = "Yes"
For Each Cell In Range("Contact")
If Cell.Value = "I&S" Then
Cell.Offset(0, 1).Value = "No"
Cell.Offset(0, 2).Value = "Yes"
end if
The code works fine, but is it possible to include both outcomes in one line without a block if?
something like - If Cell.Value = "I&S" Then Cell.Offset(0, 1).Value = "No" And Cell.Offset(0, 2).Value = "Yes"