I have this code below that searches for whatever is entered in an inputbox. The only columns that will it will search will be columns C and D. After the search is made I want to select the cell in F as the same row as what it finds in C or D.
For instance if the user searches for 101010 and it is found in C11 I would like to select F11. The same goes for if the value is found in D11 I would still like to select whatever is in F11.
Below is what I have so far.
For instance if the user searches for 101010 and it is found in C11 I would like to select F11. The same goes for if the value is found in D11 I would still like to select whatever is in F11.
Below is what I have so far.
Code:
Dim myITEM As String, myRng As Range, NewLoc As String
'Search for Product Code or Lot Number
myITEM = InputBox("Enter what you would like to search for.", "Search", "Enter Here")
Cells.Find(What:=myITEM, LookIn:=xlValues).Activate
'This is where I need to select whatever is F11