Hi All,
Need a hand finding the correct way to get this vba code to work
I'm not using tables for a variety of reason.
I want to select a Person and a type of fruit on Sheet 2
If that person has that fruit listed, It should be removed from their Row.
Im trying to select the row based on (Name) on Sheet1
Then i want to search that row for the fruit name based on Sheet2 (Fruit)
Then clear the cell.
Ive already set the variables
Bit stuck with my very limited vba knowledge.
Thanks guys
Dan
Dim Frng As Range, Qty$, Fruit$, Names$ With Sheets("Sheet2") Qty = 1: Fruit = .Range("D14"): Names = .Range("C14") Set Frng = Sheets("sheet1").Range("B:B").Find(Name) Row Frng.Select Range("Frng:Frng").Find (Fruit) If Not Frng Is Nothing Then Selection.ClearContents End If
Bookmarks