K
kre2000
Hello all,
I would really appreciate some help with this project I a
developing...
I have 2 sheets in a workbook. Sheet 1 contains an assortment o
information. Column A contains a string.
I would like to highlight a selection of rows on Sheet 1. Then, fo
each row in the selection, I would like the macro to compare th
contents of the cell in Column A to the contents of each cell in Colum
A on Sheet 2. If it finds a match in this column on Sheet 2, the macr
should copy the contents of the cell in Column B to the matched-ro
column B on Sheet 1.
i.e.
Sheet 1
Bob
Mark
John
Sheet 2
Bob bso
John bso
Steve bso
Ray cov
Mark rot
Phil cov
The macro should scan Sheet 1 column a, reference to sheet 2, and ad
data to column b on Sheet 1 to result in:
Sheet 1
Bob bso
Mark rot
John bso
Sheet 2
Bob bso
John bso
Steve bso
Ray cov
Mark rot
Phil cov
Thank you so much! You have no idea how much I appreciate the help
receive at this forum!
I would really appreciate some help with this project I a
developing...
I have 2 sheets in a workbook. Sheet 1 contains an assortment o
information. Column A contains a string.
I would like to highlight a selection of rows on Sheet 1. Then, fo
each row in the selection, I would like the macro to compare th
contents of the cell in Column A to the contents of each cell in Colum
A on Sheet 2. If it finds a match in this column on Sheet 2, the macr
should copy the contents of the cell in Column B to the matched-ro
column B on Sheet 1.
i.e.
Sheet 1
Bob
Mark
John
Sheet 2
Bob bso
John bso
Steve bso
Ray cov
Mark rot
Phil cov
The macro should scan Sheet 1 column a, reference to sheet 2, and ad
data to column b on Sheet 1 to result in:
Sheet 1
Bob bso
Mark rot
John bso
Sheet 2
Bob bso
John bso
Steve bso
Ray cov
Mark rot
Phil cov
Thank you so much! You have no idea how much I appreciate the help
receive at this forum!