I have two Excel files, the first file contains about 5500 cells, the second file is empty and I want to transfer the contents of each sheet in the first file to the cells of the second file.
Clearly, I want to transfer the contents of the cells in the first sheet (J2: O2) to glcm11 in the second file , and the contents of cells in the first sheet (J11:O11) to glcm12, and the contents of cells in the first sheet (J20:O20) to glcm13,and the contents of cells in the first sheet (J29:O29) to glcm14.
Then , I want to transfer the contents of the cells in the second sheet (J2: O2) to glcm21 in the second file, and the contents of cells in the second sheet (J11:O11) to glcm22 , and so on . How can I do this automatically without the manual method because the number of sheets in the file is too large .
I have applied The code below , but i did not get the required data format in Excel file . The code transfer only first value (value in "J" cell ) from the source file ,and copied it to all excel cells in the destination file (from B to G).