Hi,
I'm very new to this, so my apologies. I've tried searching for the answer with no luck, although I'm sure this has been answered many times, I just don't know the correct search parameters.
Basically, I want to search a row, if data matches in another workbook, then replace with data from the other workbook. I can't work out how to search a row of data. See attached image.
Something like, IF A1+B1+C1+D1+F1= Same data from another workbook THEN replace column 'E1' with predetermined information (Or replace entire row is fine too, although I would prefer if B1 wasn't affected).
I have a large source workbook to work from and doing this manually is time consuming. I also have to do it daily.
The data always has the same information in each column, but the rows could be different. Is there a way for VBA to search each row of my new workbook and replace it with data from my source workbook if it matches one of the rows in my source workbook?
I'd attempt to write what I want, but I'll fumble it.
So instead, I found this, which I think is right, but I want it to search more of the row before replacing the "E column" in the row.
Any thoughts would be appreciated.
I'm very new to this, so my apologies. I've tried searching for the answer with no luck, although I'm sure this has been answered many times, I just don't know the correct search parameters.
Basically, I want to search a row, if data matches in another workbook, then replace with data from the other workbook. I can't work out how to search a row of data. See attached image.
Something like, IF A1+B1+C1+D1+F1= Same data from another workbook THEN replace column 'E1' with predetermined information (Or replace entire row is fine too, although I would prefer if B1 wasn't affected).
I have a large source workbook to work from and doing this manually is time consuming. I also have to do it daily.
The data always has the same information in each column, but the rows could be different. Is there a way for VBA to search each row of my new workbook and replace it with data from my source workbook if it matches one of the rows in my source workbook?
I'd attempt to write what I want, but I'll fumble it.
So instead, I found this, which I think is right, but I want it to search more of the row before replacing the "E column" in the row.
VBA Find and Replace using another workbook
Hi, I am trying to do a find and replace part of a string in the selected cell values in Book1-Sheet1 using Book2-Sheet1. Book 2 contains what to search for in a column 1 and the replacement is in the adjacent column. The Find and Replace Values is a long list of over more than 10,000 Rows Can...
www.mrexcel.com
Any thoughts would be appreciated.