loke2002249
New Member
- Joined
- May 2, 2019
- Messages
- 5
Hello, Everyone
Recently i want develop one code which it solve my problem for my excel book
this code is about copy several cell values on one workbook to another workbook base of the criteria of cell
there are two workbook here
1. source workbook name is Source and the worksheet name always different but this worksheet must be at sheets (6)
and i will develop a button in this worksheet to run the code and this worksheet always is starting point.00
2. destination workbook name is Destination and the worksheet name always is salesmanprofile
at the source workbook active sheet, it will find the any cell values = "yes" (i manually key in in the cell) at the column I then copy the same row but another cell in to destination workbook in different cell
example
at the cell i14 , it got "yes", then it will automatically copy cell B14, D14, E14 and H14 (4 cell)and paste into destination workbook salesmanprofile sheet
source workbook B14, D14, E14 and H14 = destination workbook B5, D5, E5 and H5
after that, it continue search next "yes" in the source workbook at column I, if find another yes at I20
then it will automatically copy cell B20, D20, E20 and H20 (4 cell)and paste into destination workbook salesmanprofile sheet
source workbook B20, D20, E20 and H20 = destination workbook B6, D6, E6 and H6....
Remarks : destination workbook got row 1 , 2 ,3 ,4 is empty... cannot paste anything on this 4 rows
It will continue do a same thing until there are no "yes" in the column I
Is it possible this code can develop to solve my existing daily
It appreciate anyone can help me develop this code.
Recently i want develop one code which it solve my problem for my excel book
this code is about copy several cell values on one workbook to another workbook base of the criteria of cell
there are two workbook here
1. source workbook name is Source and the worksheet name always different but this worksheet must be at sheets (6)
and i will develop a button in this worksheet to run the code and this worksheet always is starting point.00
2. destination workbook name is Destination and the worksheet name always is salesmanprofile
at the source workbook active sheet, it will find the any cell values = "yes" (i manually key in in the cell) at the column I then copy the same row but another cell in to destination workbook in different cell
example
at the cell i14 , it got "yes", then it will automatically copy cell B14, D14, E14 and H14 (4 cell)and paste into destination workbook salesmanprofile sheet
source workbook B14, D14, E14 and H14 = destination workbook B5, D5, E5 and H5
after that, it continue search next "yes" in the source workbook at column I, if find another yes at I20
then it will automatically copy cell B20, D20, E20 and H20 (4 cell)and paste into destination workbook salesmanprofile sheet
source workbook B20, D20, E20 and H20 = destination workbook B6, D6, E6 and H6....
Remarks : destination workbook got row 1 , 2 ,3 ,4 is empty... cannot paste anything on this 4 rows
It will continue do a same thing until there are no "yes" in the column I
Is it possible this code can develop to solve my existing daily
It appreciate anyone can help me develop this code.