Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
I have this code to select the entire row when find a certain word in column H sometimes the word is in same column but in several Rows is it possible select ALL rows where that word is ??? Sub RowsSHOW() Dim k As Long, myWord As String myWord = InputBox("Word to find?") If myWord < "" Then For k = Cells(Rows.Count, "H").End(xlUp).Row To 1 Step -1 If InStr(1, CStr(Cells(k, "H")), myWord, vbTextCompare) Then Rows(k).EntireRow.Select End If Next k End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word select from a string | Excel Worksheet Functions | |||
auto word select | Excel Discussion (Misc queries) | |||
Auto Word Select | Excel Discussion (Misc queries) | |||
Auto Word Select | Excel Discussion (Misc queries) | |||
auto word select | Excel Discussion (Misc queries) |