rnordquest
New member
- Jul 17, 2003
- 148
I need a quick macro to do the following:
File 1
a b c1
c2
File 2
c1 d e
c2 d2 e2
c3 d3 e3
I need a macro to replace c1 in File 1 with "c1 d e" from File 2. I was thinking to take c1 File 1 and use it to search File 2 till it matches (or skip if it doesn't) and go back to File 1 and replace c1 with the values in the 3 cells "c1 d e". There's about 7000 c's so I don't want to do this by hand anymore.
Roger
File 1
a b c1
c2
File 2
c1 d e
c2 d2 e2
c3 d3 e3
I need a macro to replace c1 in File 1 with "c1 d e" from File 2. I was thinking to take c1 File 1 and use it to search File 2 till it matches (or skip if it doesn't) and go back to File 1 and replace c1 with the values in the 3 cells "c1 d e". There's about 7000 c's so I don't want to do this by hand anymore.
Roger