ashchow1986
New Member
- Joined
- May 21, 2011
- Messages
- 3
I need to write Macro for this. Column 1 has the original values and Column 2 has the values that should be replaced in Column 1.
Column1 Column2
ABC | QWE
qqq | ASH
ERTR | PRR
qqq | DIA
Find for "qqq" in each row and replace with corresponding column 2 value.
After replacement it should look like:
Column1
ABC
ASH
ERTR
DIA
I have written a simple macro for each and every row. But I need to do this using loop for the entire Sheet so that I don't keep on writing for every row individually. I'm new to this and not sure of how to write a macro for this.
Any help would be great.
Column1 Column2
ABC | QWE
qqq | ASH
ERTR | PRR
qqq | DIA
Find for "qqq" in each row and replace with corresponding column 2 value.
After replacement it should look like:
Column1
ABC
ASH
ERTR
DIA
I have written a simple macro for each and every row. But I need to do this using loop for the entire Sheet so that I don't keep on writing for every row individually. I'm new to this and not sure of how to write a macro for this.
Any help would be great.