travis.m.roberts
Board Regular
- Joined
- Jul 7, 2009
- Messages
- 62
I have a macro that searches row by row for specific text, and if it exists deletes the entire row. (see below for the portion that checks the cell value). I need to add a check for a substring to this. The sub string would be: "****»ITERATIVE" How would I do that. I have never worked with substrings in Excel before.
If (.Value = "*********...op/DesktopServlet") Or (.Value = "*******RebuildParameterFilesTask") Or
(.Value ="*******SetVariableTask") Or (.Value = "******»...op/DesktopServlet") Then .EntireRow.Delete
End If
If (.Value = "*********...op/DesktopServlet") Or (.Value = "*******RebuildParameterFilesTask") Or
(.Value ="*******SetVariableTask") Or (.Value = "******»...op/DesktopServlet") Then .EntireRow.Delete
End If