Hello
I came across this script, which I've modified
It searches for a specified name from "A1", within the range "Outline_07"
and offsets an "X" mark 13 cells to the right, of where it appears in that row.
It works great.
But is it possible to modify this such that it no longer offsets the "X" mark from where the name appears in the row, but rather places the "X" mark always in Column 10.
Tried countless variations but cant get it to work!...
Thanks for any help.
Code
Sub FindText_PlaceX()
Dim Rng As Range
Dim str As String
Application.ScreenUpdating = False
Set Rng = Range("Outline_07")
str = Range("A1").Value
If str = "" Then Exit Sub
For i = 1 To Rng.Rows.Count
If Rng.Cells(i).Value Like "*" & str & "*" Then
Rng.Cells(i).Offset(0, 13) = "X"
End If
Next i
Application.ScreenUpdating = True
End Sub
Display More