Hi Joelsmally,
I think the draft below may be able to provide a clearer picture of my problem.
Below is the English version code that may make my question clearer:
Open file AA
Search from column J8 to Z8
If found a value in J8
copy the cell
open a new workbook and name it BB
go to column C4 in BB to paste the value
go back to AA and copy J6
go to BB and paste into A4
go to AA and copy G8
go to BB and paste in B4
go to AA and copy F8
go to BB and paste in E4
go to AA and copy D8
go to BB and paste in L4
Else
go to the next cell (K8)
If found a value in k8
copy the cell
avtivate BB
go to column C5 in BB to paste the value
go back to AA and copy k6
go to BB and paste into A5
go to AA and copy G8
go to BB and paste in B5
go to AA and copy F8
go to BB and paste in E5
go to AA and copy D8
go to BB and paste in L5
repeat the same process until Z8
Go to the next row in AA
repeat the searching and pasting from J9 to Z9
Save BB
Close AA
As you can see, I need to copy from BB horizontally and paste in AA vertically. If I can find 5 values in BB, AA will require 5 rows to reflect each value.
Thanks very much for your help!