Hi,
Let's try this again. My last post didn't have a descriptive title.
Posted for the first time a few days back but got no response. Hopefully I'd be lucky this second time.
I have two workbooks "Vegetables" and "Fruits" Each workbook has the same number of worksheets labeled the same. What I would like to do is develop a macro such that if A2 of Fruits.sheet(2) contains any string found in Vegetables.sheet(2) it returns the cell value B2 of workbook("Vegetables).Sheet(2) into H2 of workbook("Vegetables').Sheet(2). For example
let's say Vegetables sheet(2) has
A B C D
spinach yummy
asparagus delicious
cabbage gross
cauliflower healthy
broccoli okay
and fruits sheet (2) has
A B C D
peaches(spinach)
Grapes-Cauliflower
Broccapples
After I run the code, Fruits sheets should have
A B
peaches(spinach) yummy
Grapes-Cauliflower healthy
Broccapples okay
This is just an example, my data contains a lot of rows. I appreciate any help I can get with this
Bookmarks