Hi All. This is my first post here, but I have been browsing your forum for a while now and have found it a very useful resource, so thanks for your (unknowing) help so far.
I have a problem where I want to search column K in a spreadsheet, for a value in cell B2 on a second spreadsheet, and replace it with the value in C2 of the second spreadsheet. I then want the macro to move down to B3 in the second spreadsheet, but replace it with C3, and so on until all values in the second spreadsheet have been found/replaced.
So far I have the code to find and replace C2.s value with C3's, but I'm not sure how to make this move down to run therough the other values.
Any help would be greatly appreciated.
Code so far (only for working on one spreadsheet so far):
ThanksSub MassReplace() Range("K:K").Select Selection.Replace what:=Range("B2").Value, _ replacement:=Range("C2").Value, _ LookAt:=xlPart, _ SearchOrder:=xlByRows, _ MatchCase:=False End Sub
Sun 13
Bookmarks