shampouya
asked on
In VBA why can't I search the entire row belonging to a specific cell?
I am using this code but I am getting an error. Any idea why?
Range("A9").EntireRow.Find (What:="*M arket*", After:=ActiveCell, LookIn:=xlFormulas, LookAt:=xlWhole)
Range("A9").EntireRow.Find
It's not actually a good idea to search entire rows and columns so maybe
What error are you getting?
Range("A9").EntireRow.SpecialCells(xlCellTypeConstants).Find(What:="*Market*", After:=ActiveCell, LookIn:=xlFormulas, LookAt:=xlWhole).Select
What error are you getting?
What error are you getting?
Where's the rest of the code?
Where's the rest of the code?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The code on its own will cause a compile error, that's why I'm asking where the rest if the code is.
I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2015
ASKER
Already checked them out, very helpful articles. Thanks
Open in new window
Saurabh...