Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to make delete all rows that contain the text "UASGN" in column J.
I have tried a few different methods based upon research from this site, but I'm having an issue with each one. The one I think I'll use is this: For i = 1 To 672 If Cells(i, "J") = "*UASGN*" Then Rows(i & ":" & i).Select Selection.Delete Shift:=xlUp i = i - 1 ' as we just deleted a row, we should not increase i End If Next i When I use this, it appears to have a problem with the wildcards. If I remove the wildcards and replace with a finite character(s), it works. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF Statement not working | Excel Worksheet Functions | |||
Wildcards in IF statement | Excel Discussion (Misc queries) | |||
Wildcards with numbers....* & ? not working | Excel Worksheet Functions | |||
Autofilter Wildcards Not Working on Number Column | New Users to Excel | |||
Autofilter Wildcards Not Working on Number Column | Excel Worksheet Functions |