Hi,
I get daily fresh excel sheet containing data in sheet called "WorkArea", from my client. The data are in columns A to P . But sometimes this data are in 20 rows and sometimes are in 50 rows, sometimes more than that, but the column are fixed. In column "I" I have my clients name. Total clients are four, john, joe, masa and pie. In column "M" have other data which I need to copy and paste in sheet 2. Now I want vba which search name "masa" from column "I". Here the name "masa" sometimes are in 20 cells or sometimes are in 50 cells one below other. After searching name "masa" in column "I", I want to copy data which are in column "M" and paste it in sheet 2 in cell say A1. While pasting, the name "masa" should be pasted in A1 and the copied data from column "M" should be pasted in B1 one below other.
Again same process, search another name say "pie" from column "I" copy data from column "M" and paste in sheet 2. The "pie" should be pasted in C1 and its data which is taken from column "M" should be pasted D1.
Ignore all other names. I want only two name from column "I".
Thanks and best regards.
Bookmarks