Adamzurick
New Member
- Joined
- Jun 26, 2008
- Messages
- 20
Hi all, I'm new to VBA and while trying to learn this new language, need to figure out a way to do something for work ahead of my current skill level.
I have two sheets, in each there are hundreds of rows of the three columns listed below (I'm only using 1 row but would need this using a range). Using Sheet 1 as the key, I want to replace Sheet 2 column B and C wherever the name matches all occurrences.
I think I found what code to use, I just don't know how to use it "TextRange2.Replace". Any help would be WONDERFUL!!!
<colgroup><col><col><col></colgroup><tbody>
</tbody>
I have two sheets, in each there are hundreds of rows of the three columns listed below (I'm only using 1 row but would need this using a range). Using Sheet 1 as the key, I want to replace Sheet 2 column B and C wherever the name matches all occurrences.
I think I found what code to use, I just don't know how to use it "TextRange2.Replace". Any help would be WONDERFUL!!!
Sheet 1 | ||
Name | Country | Region |
Adam | America | New York |
Sheet 2 | ||
Name | Country | Region |
Adam | Spain | Madrid |
Sheet 2 (After Macro) | ||
Name | Country | Region |
Adam | America | New York |
<colgroup><col><col><col></colgroup><tbody>
</tbody>