Good afternoon everybody!
i am trying to create a VBA Code for finding a text but i don't want the code to search through all sheet.
Is there any way to tell VBA to search in specific rows, for exp the first?
Usually i use the fist row to title the columns so i want to search by the head columns.
Let's assume that i want to find and select the cell with the text "Account Number".
I use this code but this goes to all the cells:
Cells.Find(What:="Account Number", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
DO YOU GUYS HAVE A BETTER IDEA?
Thanks in advance for your help
Bookmarks