In a Folder i have 30 workbooks* of same format, equal number of rows and columns.Now i want copy a number of specific columns* from all the workbooks. columns i want to copy are at index: 'F', 'J', 'N', 'R', 'V', 'Z', 'AD', 'AH', 'AL', 'AP', 'AT', 'AX'.
*Note 1= there is only one sheet in all workbooks. [N workbooks = n sheets]
*Note 2= these columns are fixed...only these columns must be extracted.
what is have done is :
copying 'F' column
Sub CopyingRange()
Workbooks("workbook1 name").Sheets("Sheetname").Range("F2:F453").Copy Range("A1:A453")
Workbooks("workbook2 name").Sheets("Sheetname").Range("F2:F453").Copy Range("B1:B453")
...
Workbooks("workbookn name").Sheets("Sheetname").Range("F2:F453").Copy Range("Z1:Z453")
End Sub
same thing for Column 'J' and for other columns.
problems:
1) my process is very basic.
2) workbooks must be open while i am running the program.
3) time consuming.
Is there any other way to do this.. i want to copy the columns without opening the workbooks.