Dear Excel Experts,
I have 2 workbooks: Workbook A and Workbook B. Workbook A contains 4 worksheets (A1,A2,A3,A4). These worksheets contain different number of rows. The number of rows from these worksheets MUST be copied to workbook B with corresponding the same worksheet names A1,A2,A3,A4.
How can I write a VBA to insert these dynamic rows for each worksheet mentioned above and copy the corresponding row data from workbook A (if any) to workbook B with minimum hardcoding. All valid data starts at A2 on each worksheet and ends at N column. Insertion on workbook B always at cell A2 of workbook B. If there is NO record on the row, i need to skip it. I know the workflow programming logic but can't fully utilize the syntax of VBA to fully exploit it.
Thank you in advance.
JL
I have 2 workbooks: Workbook A and Workbook B. Workbook A contains 4 worksheets (A1,A2,A3,A4). These worksheets contain different number of rows. The number of rows from these worksheets MUST be copied to workbook B with corresponding the same worksheet names A1,A2,A3,A4.
How can I write a VBA to insert these dynamic rows for each worksheet mentioned above and copy the corresponding row data from workbook A (if any) to workbook B with minimum hardcoding. All valid data starts at A2 on each worksheet and ends at N column. Insertion on workbook B always at cell A2 of workbook B. If there is NO record on the row, i need to skip it. I know the workflow programming logic but can't fully utilize the syntax of VBA to fully exploit it.
Thank you in advance.
JL