It looks like you're actually trying to grab all the rows of data that match the fruit in column C. Have you ever used an AutoFilter? That's what it does. And you can do actions on the filtered data, too.
Further, with an autofilter, it won't matter that all pears/apples/oranges aren't altogether in the data set. An autofilter hides all rows that don't fit the criteria and you can grab the visible data to do stuff.
Here's an example of a loop that goes through an array of fruits.
=======
LAstly, notice my code isn't "selecting" cells before copying or whatever else you're going to do to it? Get in the habit of NOT selecting, it's 90% of the time a wasted step and unnecessary.
Bookmarks